You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a comment on http.Request.Context that said that when the underlying connection closes, the context would be cancelled. However, this has not been implemented.
I'm not sure if we want to do this because it would double the number of goroutines running and I'm not sure exactly how to implement it because http.CloseNotifier is incompatible with http.Hijacker.
The text was updated successfully, but these errors were encountered:
The comment on http.Request.Context says that the context
is canceled when the client's connection closes even though
this has not been implemented. See #15927
Change-Id: I50b68638303dafd70f77f8f778e6caff102d3350
Reviewed-on: https://go-review.googlesource.com/23672
Reviewed-by: Andrew Gerrand <[email protected]>
There was a comment on
http.Request.Context
that said that when the underlying connection closes, the context would be cancelled. However, this has not been implemented.I'm not sure if we want to do this because it would double the number of goroutines running and I'm not sure exactly how to implement it because
http.CloseNotifier
is incompatible withhttp.Hijacker
.The text was updated successfully, but these errors were encountered: