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

net/http: tests failing on Plan 9 since CL 31173 #17498

Closed
0intro opened this issue Oct 18, 2016 · 4 comments
Closed

net/http: tests failing on Plan 9 since CL 31173 #17498

0intro opened this issue Oct 18, 2016 · 4 comments
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. OS-Plan9
Milestone

Comments

@0intro
Copy link
Member

0intro commented Oct 18, 2016

Since CL 31173 the HTTP server relies on deadlines to read requests from clients. This change broke various tests in the net/http package, because deadlines aren't implemented on Plan 9 yet.

2016/10/18 03:15:56 httptest.Server blocked in Close after 5 seconds, waiting for connections:
  *net.TCPConn 0x10976f98 127.0.0.1:47045 in state active
  *net.TCPConn 0x10976110 127.0.0.1:43006 in state active
panic: test timed out after 3m0s
FAIL    net/http    180.069s

See https://build.golang.org/log/726c2a2970f3e33d3728a27645521822e2ef8d03

@0intro 0intro added this to the Go1.8 milestone Oct 18, 2016
@0intro 0intro self-assigned this Oct 18, 2016
@bradfitz bradfitz modified the milestones: Go1.8Maybe, Go1.8 Oct 18, 2016
@rsc
Copy link
Contributor

rsc commented Oct 20, 2016

To be clear, the fix here is to implement deadlines on Plan 9, right?

@bradfitz
Copy link
Contributor

Yes. And there's now a pending CL for it too.

@0intro
Copy link
Member Author

0intro commented Oct 20, 2016

Yes, we have to implement deadlines on Plan 9.
I've proposed an experimental implementation in CL 31521, which is able to pass the currents tests (and more).

@quentinmit quentinmit added NeedsFix The path to resolution is known, but the work has not been done. Blocked labels Oct 21, 2016
@gopherbot
Copy link

CL https://golang.org/cl/31521 mentions this issue.

@golang golang locked and limited conversation to collaborators Nov 12, 2017
@rsc rsc unassigned 0intro Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. OS-Plan9
Projects
None yet
Development

No branches or pull requests

5 participants