mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-05 09:41:14 +08:00
Merge d2415e54db2617848cd2d0ac194b4c722c93fca0 into c3d5a28ed6d3849da820195b6774d212bcc038a9
This commit is contained in:
commit
bfc0f3f7e8
@ -68,6 +68,9 @@ func CustomRecoveryWithWriter(out io.Writer, handle RecoveryFunc) HandlerFunc {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if errors.Is(err, http.ErrAbortHandler) {
|
||||||
|
brokenPipe = true
|
||||||
|
}
|
||||||
if logger != nil {
|
if logger != nil {
|
||||||
const stackSkip = 3
|
const stackSkip = 3
|
||||||
if brokenPipe {
|
if brokenPipe {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user