mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-09 20:29:16 +08:00
Compare commits
2 Commits
9c7bdb8cb9
...
8b92b92d7a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8b92b92d7a | ||
|
|
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