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

Fixes GOAWAY frames not handled correctly with http2 #1274

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zemaj
Copy link

@zemaj zemaj commented Jun 13, 2024

Fixes #1273

Allows http2 requests to be retried only when a GOAWAY frame is received.

GOAWAY spec: https://datatracker.ietf.org/doc/html/rfc7540#section-6.8
How GetBody is handled: https://github.com/golang/net/blob/master/http2/transport.go#L664

@zemaj zemaj changed the title Fixes cloudflare/cloudflared#1273 Fixes GOAWAY frames not handled correctly with http2 Jun 13, 2024
@chungthuang
Copy link
Contributor

Hi @zemaj, thank you making this contribution. Can you add a unit test to validate this change?

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.

🐛 GOAWAY frames not handled correctly with http2
2 participants