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
when I cancel an outstanding http request (happens to be to ElasticSearch) using http.Transport.CancelRequest() I get the 'net/http: transport closed before response was received' error. But I would expect the 'net/http: request canceled' error.
go version devel +df2809f (master as of now)
Not completely understanding the net/http code this fixes it for me:
harmen@deadpixel:/tmp$ go run -v b.go
command-line-arguments
2015/06/02 11:34:12 Get http://localhost:12345/: net/http: transport closed before response was received
exit status 1
With the patch:
harmen@deadpixel:/tmp$ go run -v b.go
command-line-arguments
2015/06/02 11:36:31 Get http://localhost:12345/: net/http: request canceled
exit status 1
when I cancel an outstanding http request (happens to be to ElasticSearch) using http.Transport.CancelRequest() I get the 'net/http: transport closed before response was received' error. But I would expect the 'net/http: request canceled' error.
go version devel +df2809f (master as of now)
Not completely understanding the net/http code this fixes it for me:
The text was updated successfully, but these errors were encountered: