Merge 01c93c111dae19eed135a108f52c5226abb0adfe into 5e5ff3ace496a31b138b0820136a146bfb5de0ef

This commit is contained in:
Aman Karmani 2025-11-06 20:33:25 +00:00 committed by GitHub
commit 4db8c6a1f2
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 err == http.ErrAbortHandler {
brokenPipe = true
}
if logger != nil {
const stackSkip = 3
if brokenPipe {