mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-05 18:00:54 +08:00
Compare commits
2 Commits
bfc0f3f7e8
...
d0bd8bbec8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0bd8bbec8 | ||
|
|
d2415e54db |
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user