diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/SSLServer.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/SSLServer.py b/src/lib/SSLServer.py index 7c5b76664..1f4c1c8e4 100644 --- a/src/lib/SSLServer.py +++ b/src/lib/SSLServer.py @@ -262,10 +262,12 @@ class XMLRPCRequestHandler (SimpleXMLRPCServer.SimpleXMLRPCRequestHandler): self.logger.warning("Connection dropped from %s" % self.client_address[0]) elif str(type) == 'socket.error' and msg[0] == 104: self.logger.warning("Connection reset by peer: %s" % self.client_address[0]) + elif str(type) == 'ssl.SSLError': + self.logger.warning("SSLError handling client %s: %s" % \ + (self.client_address[0], msg)) else: self.logger.error("Error sending response (%s): %s" % \ (type, msg)) - raise def finish(self): # shut down the connection |