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
reverseproxy.go:316: httputil: ReverseProxy read error during body copy: context canceled
While using ReverseProxy. It's caused by the original request being closed, and it triggering the origin request to be closed. I suspect it's a frequent error message now that http.Request.Context is marked done when a client request goes away in Go1.8. I don't think it should be logged. I expect that httputil.ReverseProxy.copyBuffer can be modified to filter rerr==context.Canceled.
The text was updated successfully, but these errors were encountered:
odeke-em
changed the title
httputil: ReverseProxy read error during body copy: context canceled
net/http/httputil: ReverseProxy read error during body copy: context canceled
Jan 29, 2017
I get a lot of this error
While using ReverseProxy. It's caused by the original request being closed, and it triggering the origin request to be closed. I suspect it's a frequent error message now that
http.Request.Context
is marked done when a client request goes away in Go1.8. I don't think it should be logged. I expect thathttputil.ReverseProxy.copyBuffer
can be modified to filterrerr==context.Canceled
.The text was updated successfully, but these errors were encountered: