Commit b0cf187d authored by Klaus-Uwe Mitterer's avatar Klaus-Uwe Mitterer

Ignore client connection resets

parent d82ec2a9
......@@ -173,6 +173,8 @@ class TCPHandler(socketserver.StreamRequestHandler):
if 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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment