Merge d2415e54db2617848cd2d0ac194b4c722c93fca0 into 2e22e5085960205fbb11c25776f6ea76b8053253

This commit is contained in:
Joon 2025-11-04 10:20:57 -05:00 committed by GitHub
commit d0bd8bbec8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,6 +68,9 @@ func CustomRecoveryWithWriter(out io.Writer, handle RecoveryFunc) HandlerFunc {
}
}
}
if errors.Is(err, http.ErrAbortHandler) {
brokenPipe = true
}
if logger != nil {
const stackSkip = 3
if brokenPipe {