mirror of
https://github.com/gin-gonic/gin.git
synced 2026-06-27 20:48:24 +08:00
Merge 01c93c111dae19eed135a108f52c5226abb0adfe into c0048f645ee945c4db30593afdea10123e2c30a6
This commit is contained in:
commit
4a182bf9a4
@ -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