fixed rocket ssl issue 787
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 1.99.7 (2012-05-10 22:23:57) dev
|
Version 1.99.7 (2012-05-10 22:29:01) dev
|
||||||
|
|||||||
+1
-1
@@ -1227,7 +1227,7 @@ class Worker(Thread):
|
|||||||
|
|
||||||
def _handleError(self, typ, val, tb):
|
def _handleError(self, typ, val, tb):
|
||||||
if typ == SSLError:
|
if typ == SSLError:
|
||||||
if 'timed out' in val.args[0]:
|
if 'timed out' in str(val.args[0]):
|
||||||
typ = SocketTimeout
|
typ = SocketTimeout
|
||||||
if typ == SocketTimeout:
|
if typ == SocketTimeout:
|
||||||
if __debug__:
|
if __debug__:
|
||||||
|
|||||||
Reference in New Issue
Block a user