mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-08 19:54:08 +08:00
Compare commits
4 Commits
54abbfa652
...
6a35bdebd4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a35bdebd4 | ||
|
|
01c93c111d | ||
|
|
1fc5ec954c | ||
|
|
c8af93d50b |
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user