Skip to content

Send PING frame only when ACK flag does not specified #1175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2017
Merged

Send PING frame only when ACK flag does not specified #1175

merged 1 commit into from
Jan 23, 2017

Conversation

summerwind
Copy link
Contributor

This PR fixes a bug of loop of PING frame. Currently H2O will respond even if it is a PING frame with the ACK flag enabled. This behavior will cause a loop of PING frame.

@kazuho kazuho merged commit 09f00c4 into h2o:master Jan 23, 2017
kazuho added a commit that referenced this pull request Jan 23, 2017
Send PING frame only when ACK flag is not set
@kazuho
Copy link
Member

kazuho commented Jan 23, 2017

Thank you for the fix!

My understanding is that this bug does not cause a loop against a HTTP/2 client conforming to the specification since H2O never sends a PING frame from itself, but it is good to have this fixed nonetheless.

@summerwind summerwind deleted the prevent-ping-loop branch January 23, 2017 02:50
@summerwind
Copy link
Contributor Author

Oh, I misunderstood about looping.
Thank you for merging!

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.

2 participants