mirror of https://gitlab.com/bashrc2/epicyon
Handle broken pipe error
parent
7209d23ae7
commit
31a6dbd657
|
@ -14841,6 +14841,8 @@ class EpicyonServer(ThreadingHTTPServer):
|
|||
if e.errno != errno.ECONNRESET:
|
||||
print('ERROR: (EpicyonServer) ' + str(cls) + ", " + str(e))
|
||||
pass
|
||||
elif cls is BrokenPipeError:
|
||||
pass
|
||||
else:
|
||||
print('ERROR: (EpicyonServer) ' + str(cls) + ", " + str(e))
|
||||
return HTTPServer.handle_error(self, request, client_address)
|
||||
|
|
Loading…
Reference in New Issue