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: TimeoutHandler doesn't set a timeout on Request.Context #20712

jmhodges opened this issue Jun 17, 2017 · 2 comments


None yet
4 participants
Copy link

commented Jun 17, 2017

On Go version 1.8.3, net/http.TimeoutHandler doesn't apply context.WithTimeout to the passed in http.Request's context. It's desirable now that context is everywhere in the stdlib. It seems like it might also simplify the timeoutHandler.ServeHTTP implementation.

This also seems to be the case in 1.9beta1.


This comment has been minimized.

Copy link

commented Jun 20, 2017

/cc @bradfitz

@bradfitz bradfitz added this to the Go1.10 milestone Jun 21, 2017


This comment has been minimized.

Copy link

commented Jun 22, 2017

CL mentions this issue.

@gopherbot gopherbot closed this in 9e7b30b Aug 28, 2017

@golang golang locked and limited conversation to collaborators Aug 28, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.