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 46a893a commit 067d0f2Copy full SHA for 067d0f2
exhttp/networkerror.go
@@ -26,7 +26,8 @@ func IsNetworkError(err error) bool {
26
errno == syscall.ETIMEDOUT ||
27
errno == syscall.ECONNREFUSED ||
28
errno == syscall.EHOSTDOWN ||
29
- errno == syscall.EHOSTUNREACH
+ errno == syscall.EHOSTUNREACH ||
30
+ errno == syscall.EPIPE
31
} else if netError := net.Error(nil); errors.As(err, &netError) {
32
return true
33
} else if errors.As(err, &http2.StreamError{}) {
0 commit comments