Skip to content

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

@adarshx01

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.

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