-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid emitting WINDOW_UPDATE frames when receiving stream closed
Motivation: In some cases it's possible for a stream to emit a WINDOW_UPDATE frame after receiving close from the network. This is unfortunate because in the eyes of the `NIOHTTP2Handler` the stream no longer exists which results in a connection-level error. Modifications: - Add a flag to `deliverPendingReads` telling it whether it is allowed to emit a WINDOW_UPDATE frame - Use the above functionality when the stream is closing Result: WINDOW_UPDATE frames are no longer emitted from the stream as a result of delivering pending reads while closing.
- Loading branch information
Showing
3 changed files
with
49 additions
and
5 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