Navigation Menu

Skip to content
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

x/net/http2: TestTransportCancelDataResponseRace failures with "net/http: request canceled" #45701

Closed
bcmills opened this issue Apr 22, 2021 · 4 comments
Assignees
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 22, 2021
@bcmills bcmills added this to the Backlog milestone Apr 22, 2021
@networkimprov
Copy link

cc @fraenkel

@gopherbot
Copy link

Change https://golang.org/cl/320369 mentions this issue: http2: remove race from TestTransportCancelDataResponseRace

@bcmills
Copy link
Contributor Author

bcmills commented Sep 14, 2022

greplogs -l -e 'FAIL: TestTransportCancelDataResponseRace.*(?:\n.*)*net/http: request canceled' --since=2021-04-22
2022-09-06T12:35:13-83b083e-8a32354/freebsd-arm64-dmgk
2021-12-06T23:02:28-eba003a-871d63f/freebsd-arm64-dmgk
2021-04-23T18:45:38-5f58ad6-06c9756/freebsd-arm64-dmgk

@bcmills
Copy link
Contributor Author

bcmills commented Sep 14, 2022

@neild, this has a candidate fix CL awaiting review — could you take a look?

WeiminShang pushed a commit to WeiminShang/net that referenced this issue Nov 16, 2022
Wait for the client request to return before cancelling the request.
Then cancel the request and send more data.

Fixes: golang/go#45701

Change-Id: Icc81f9c6fefdda1d978e6234c9894f552daecd45
Reviewed-on: https://go-review.googlesource.com/c/net/+/320369
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Damien Neil <dneil@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
@golang golang locked and limited conversation to collaborators Sep 21, 2023
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.
Projects
None yet
Development

No branches or pull requests

4 participants