-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http: http2 with header connection:close
causes the failure of rewinding body after connection loss
#62450
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
Comments
Change The body can only be replayed after a connection loss when the |
@panjf2000 I think this issue is a bit different from #62453's situation. According to the relevant description of RFC 7540:
My question is, when the http client sends a request using the http/2 protocol, should the |
OK, then we need to change the issue title |
connection:close
causes the failure of rewinding body after connection loss
I just went through the code and found this: Lines 6412 to 6423 in 9af74e7
It turns out this behavior is expected, therefore, this is the end of the discussion. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Run the following code:
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: