Open mikioh opened 8 years ago
Also https://build.golang.org/log/11add19306c4c449d8d05e6b3fb05129b0407ed6
--- FAIL: TestTransportResPattern_c1h2d0t0 (0.00s)
transport_test.go:664: client: RoundTrip: http2: stream closed
FAIL
FAIL golang.org/x/net/http2 33.617s
This is just a bug in the x/net/http2 test. func testTransportResPattern needs to wait to response until the DATA frame arrives when withData
is true.
Removing the Go1.7Maybe label.
Actually, it looks like the http2.Transport doesn't handle half-closed situations well.
The server should be able to keep reading the client's request body even after having replied. This is much sketchier in http1, but http2 is clear that it should work.
Somewhat low priority to fix properly, but we can at least fix the failing tests in the meantime.
CL https://golang.org/cl/24970 mentions this issue.
See https://build.golang.org/log/6c16a5f66e28811897fa9ff2818873f56a9a128c and https://build.golang.org/log/5ea1f443a67a371b9acdebeee89cc802345ce5fb.