diff --git a/lib/request/httpshandler.py b/lib/request/httpshandler.py index 67a2daea9..47f09acb9 100644 --- a/lib/request/httpshandler.py +++ b/lib/request/httpshandler.py @@ -53,7 +53,7 @@ class HTTPSConnection(httplib.HTTPSConnection): break else: sock.close() - except ssl.SSLError, errMsg: + except (ssl.SSLError, socket.error), errMsg: logger.debug("SSL connection error occurred ('%s')" % errMsg) if not success: