Author: tmckay
Date: 2012-11-05 19:14:12 +0000 (Mon, 05 Nov 2012)
New Revision: 5538
Modified:
trunk/wooly/python/wooly/server.py
Log:
Generalize exception handler even further, suppress all ssl exceptions on
wrap()
Modified: trunk/wooly/python/wooly/server.py
===================================================================
--- trunk/wooly/python/wooly/server.py 2012-11-05 17:38:04 UTC (rev 5537)
+++ trunk/wooly/python/wooly/server.py 2012-11-05 19:14:12 UTC (rev 5538)
@@ -19,10 +19,7 @@
try:
s, env = super(PatchBuiltinSSLAdapter, self).wrap(sock)
except ssl.SSLError, e:
- if e.errno != ssl.SSL_ERROR_SSL:
- raise
- else:
- log.debug("Supressing ssl exception", exc_info=True)
+ log.debug("Supressing ssl exception", exc_info=True)
s, env = None, {}
return s, env
except:
Show replies by date