Merge 01c93c111dae19eed135a108f52c5226abb0adfe into 8763f33c65f7df8be5b9fe7504ab7fcf20abb41d

This commit is contained in:
Aman Karmani 2025-03-23 08:37:49 +08:00 committed by GitHub
commit 46f554186f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,6 +69,9 @@ func CustomRecoveryWithWriter(out io.Writer, handle RecoveryFunc) HandlerFunc {
}
}
}
if err == http.ErrAbortHandler {
brokenPipe = true
}
if logger != nil {
stack := stack(3)
httpRequest, _ := httputil.DumpRequest(c.Request, false)