forked from apple/swift-nio-http2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Collapse HTTP/2 channel handlers. (apple#52)
Motivation: We attempted to use the NIO channel pipeline to spread out the HTTP/2 implementation across a number of channel handlers. Unfortunately, due to the concerns of reentrancy it's not really safely possible to do this: it's too easy for the pipeline ordering to become so confused that the implementation ends up incorrect. For this reason, we are going to squash together the three handlers that provide a complete HTTP/2 protocol implementation into just one. Modifications: - Move the ConcurrentStreamsHandler and FlowControlHandler into the HTTP2Handler. - Update setup and test code accordingly. Result: More correct implementation
- Loading branch information
Showing
16 changed files
with
1,639 additions
and
1,274 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.