Closed
Description
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
.