http.TimeoutHandler and context support

I was looking at http.TimeoutHandler code and in particular at its ServeHTTP method.
Before calling h.handler.ServeHTTP(tw, r) why no context timeout is added to the http.Request?
In this way no cancellation signal will be sent to downstream go routines.
Wouldn’t make sense to do it?


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.