Files
golang.net/http2
Damien Neil 6826f5a7db http2: close request bodies before RoundTrip error return
When returning an error from RoundTrip, wait for the close
of the request body to complete before returning.

This avoids a race between the HTTP/2 transport closing
the request body and the net/http retry loop examining
the readTrackingBody to see if it has been closed.

For golang/go#60041

Change-Id: I8be69ff5056806406716e01e02d1f631deeca088
Reviewed-on: https://go-review.googlesource.com/c/net/+/496335
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
2023-05-24 21:30:25 +00:00
..
2023-05-10 21:21:25 +00:00
2021-07-26 21:34:35 +00:00
2022-08-02 22:28:14 +00:00
2023-02-08 14:49:55 +00:00
2021-02-20 03:31:24 +00:00
2022-08-02 22:28:14 +00:00
2021-02-20 03:31:24 +00:00