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
net/http: data race during TestTrailersClientToServer_h2 #22721
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Comments
ALTree
added
the
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
label
Nov 14, 2017
I too can reproduce this on tip, thanks for the repro @ALTree. |
Change https://golang.org/cl/79238 mentions this issue: |
gopherbot
pushed a commit
to golang/net
that referenced
this issue
Nov 27, 2017
This fixes TestTrailersClientToServer_h2. Before this CL, the following command reliably fails. With this CL merged into net/http, the following command reliably succeeds. go test -race -run=TestTrailersClientToServer_h2 -count 1000 net/http Updates golang/go#22721 Change-Id: I05d1504c60854fcf3ae9531f36a126e94b00f0b7 Reviewed-on: https://go-review.googlesource.com/79238 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
Change https://golang.org/cl/80078 mentions this issue: |
c3mb0
pushed a commit
to c3mb0/net
that referenced
this issue
Apr 2, 2018
This fixes TestTrailersClientToServer_h2. Before this CL, the following command reliably fails. With this CL merged into net/http, the following command reliably succeeds. go test -race -run=TestTrailersClientToServer_h2 -count 1000 net/http Updates golang/go#22721 Change-Id: I05d1504c60854fcf3ae9531f36a126e94b00f0b7 Reviewed-on: https://go-review.googlesource.com/79238 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
jasonwbarnett
pushed a commit
to jasonwbarnett/fileserver
that referenced
this issue
Jul 11, 2018
Update http2 to x/net git rev db473f6b23. (And un-skip TestWriteHeader0_h2 added in CL 80077, now fixed.) Includes: http2: remove afterReqBodyWriteError wrapper https://golang.org/cl/75252 http2: fix transport data race on reused *http.Request objects https://golang.org/cl/75530 http2: require either ECDSA or RSA ciphersuite https://golang.org/cl/30721 http2: don't log about timeouts reading client preface on new connections https://golang.org/cl/79498 http2: don't crash in Transport on server's DATA following bogus HEADERS https://golang.org/cl/80056 http2: panic on invalid WriteHeader status code https://golang.org/cl/80076 http2: fix race on ClientConn.maxFrameSize https://golang.org/cl/79238 http2: don't autodetect Content-Type when the response has an empty body https://golang.org/cl/80135 Fixes golang/go#18776 Updates golang/go#20784 Fixes golang/go#21316 Fixes golang/go#22721 Fixes golang/go#22880 Change-Id: Ie86e24e0ee2582a5a82afe5de3c7c801528be069 Reviewed-on: https://go-review.googlesource.com/80078 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Tom Bergan <tombergan@google.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
TestTrailersClientToServer_h2
triggers a data race. It was caught by a race builder here: https://build.golang.org/log/ede024321618b97ce309d1b255b936493545bc50I can easily reproduce it on tip doing this:
We also have #22678 but the reported race seems different; may be a different bug.
The text was updated successfully, but these errors were encountered: