mirror of
https://github.com/gin-gonic/gin.git
synced 2026-01-15 20:17:09 +08:00
Merge 01c93c111dae19eed135a108f52c5226abb0adfe into 8763f33c65f7df8be5b9fe7504ab7fcf20abb41d
This commit is contained in:
commit
46f554186f
@ -69,6 +69,9 @@ func CustomRecoveryWithWriter(out io.Writer, handle RecoveryFunc) HandlerFunc {
|
||||
}
|
||||
}
|
||||
}
|
||||
if err == http.ErrAbortHandler {
|
||||
brokenPipe = true
|
||||
}
|
||||
if logger != nil {
|
||||
stack := stack(3)
|
||||
httpRequest, _ := httputil.DumpRequest(c.Request, false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user