-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[internal-branch.go1.17-vendor] http2: avoid spurious RoundTrip error…
… when server closes and resets stream Avoid a race condition between RoundTrip and the read loop when the read loop reads a response followed by an immediate stream reset. For golang/go#49645 Fixes golang/go#49662 Change-Id: Ifb34e2dcb8cc443d3ff5d562cc032edf09da5307 Reviewed-on: https://go-review.googlesource.com/c/net/+/364834 Trust: Damien Neil <[email protected]> Run-TryBot: Damien Neil <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> (cherry picked from commit 6a13c67c3ce400be1b91076053a994c2d1ebf01b) Reviewed-on: https://go-review.googlesource.com/c/net/+/368379 Reviewed-by: Michael Knyszek <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters