FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Ignore leftover frames received after the connection is closed by adarshx01 · Pull Request #1324 · python-hyper/h2 · GitHub

Ignore leftover frames received after the connection is closed - #1324

Open
adarshx01 wants to merge 1 commit into
python-hyper:masterfrom
adarshx01:fix/ignore-frames-after-close
Open

Ignore leftover frames received after the connection is closed#1324
adarshx01 wants to merge 1 commit into
python-hyper:masterfrom
adarshx01:fix/ignore-frames-after-close

Conversation

Copy link
Copy Markdown

Fixes #1199.

After GOAWAY (or any other path into CLOSED), the TCP receive buffer can still hold PING/DATA/SETTINGS frames. Those currently miss the CLOSED transition table and raise ProtocolError. Extra GOAWAY frames stay valid, matching the existing multi-GOAWAY tests; everything else is dropped and does not generate a PING ACK.

This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ProtocolError on receive_data after connection is closed

1 participant


Back | FazBrowse Home | New Git URL