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
The ReadTimeout always trigger and closes the connection even though
the full request has been read and the response is being sent to the client.
$ curl localhost:1990 > /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 1443M 0 9.7M 0 0 9.7M 0 0:02:27 0:00:01 0:02:26 9.7M
curl: (18) transfer closed with 1503043678 bytes remaining to read
Time Spent equals my ReadTimeout.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?go version go1.7.4 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
I have a
http.ReverseProxy
as the handler of ahttp.Server
configured with a
ReadTimeout
, and serving a large file.What did you expect to see?
I expect the proxy to serve the whole file.
What did you see instead?
The
ReadTimeout
always trigger and closes the connection even thoughthe full request has been read and the response is being sent to the client.
Time Spent
equals myReadTimeout
.The text was updated successfully, but these errors were encountered: