Skip to content
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

Fix HTTP/2 shutdown #276

Merged
merged 9 commits into from Oct 25, 2020
Merged

Fix HTTP/2 shutdown #276

merged 9 commits into from Oct 25, 2020

Conversation

kelunik
Copy link
Member

@kelunik kelunik commented Oct 25, 2020

GOAWAY doesn't mean we should close the connection right away, but rather that we shouldn't send any new requests on that connection.

Additionally, if we experience timeouts, ping before making a new request, to ensure that non-responsive but non-idle connections are sorted out and not reused.

Without this, the connection doesn't get dropped early enough, so the failed streams are retried on the same connection.
GOAWAY doesn't mean we should close the connection right away, but rather that we shouldn't send any new requests on that connection.

Additionally, if we experience timeouts, ping before making a new request, to ensure that non-responsive but non-idle connections are sorted out and not reused.
@kelunik kelunik merged commit 73bd092 into master Oct 25, 2020
@kelunik kelunik deleted the http2-shutdown branch October 25, 2020 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant