mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 22:16:08 +00:00
Catch error.BrokenPipe and close connection
Users have reported this error occurring occasionally, close connection and continue processing requests when it occurs.
This commit is contained in:
parent
ca153eb82c
commit
3c88d845a8
@ -312,6 +312,7 @@ fn isBadHttpError(err: anyerror) bool {
|
||||
error.MissingFinalNewline,
|
||||
error.HttpConnectionClosing,
|
||||
error.ConnectionResetByPeer,
|
||||
error.BrokenPipe,
|
||||
=> true,
|
||||
else => false,
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user