mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-12 05:51:12 +08:00
Compare commits
4 Commits
6a35bdebd4
...
67ca13e5a8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67ca13e5a8 | ||
|
|
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