mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-07 10:51:26 +08:00
Merge 01c93c111dae19eed135a108f52c5226abb0adfe into 5fad976b372e381312f8de69f0969f1284d229d3
This commit is contained in:
commit
6a35bdebd4
@ -68,6 +68,9 @@ func CustomRecoveryWithWriter(out io.Writer, handle RecoveryFunc) HandlerFunc {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if err == http.ErrAbortHandler {
|
||||||
|
brokenPipe = true
|
||||||
|
}
|
||||||
if logger != nil {
|
if logger != nil {
|
||||||
const stackSkip = 3
|
const stackSkip = 3
|
||||||
if brokenPipe {
|
if brokenPipe {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user