We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6ba70 commit f4667c6Copy full SHA for f4667c6
proxy/proxy.go
@@ -196,6 +196,9 @@ func (p *Proxy) proxyHTTPRequest(
196
resp, err := httpService.RoundTrip(roundTripReq)
197
if err != nil {
198
tracing.EndWithErrorStatus(ttfbSpan, err)
199
+ if err := roundTripReq.Context().Err(); err != nil {
200
+ return errors.Wrap(err, "Incoming request ended abruptly")
201
+ }
202
return errors.Wrap(err, "Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared")
203
}
204
0 commit comments