Ignore client connection resets
This commit is contained in:
parent
d82ec2a995
commit
b0cf187d0c
1 changed files with 2 additions and 0 deletions
|
@ -173,6 +173,8 @@ class TCPHandler(socketserver.StreamRequestHandler):
|
|||
if response:
|
||||
self.sendString(response)
|
||||
logger("Sent to %s: %s" % (remote, response), syslog.LOG_DEBUG)
|
||||
except ConnectionResetError:
|
||||
logger("Connection reset by %s before we could reply." % remote, LOG_DEBUG)
|
||||
except Exception as e:
|
||||
logger(e, syslog.LOG_CRIT)
|
||||
|
||||
|
|
Loading…
Reference in a new issue