From 0f8a29daebd23b2a35c3e42ebdf8e460ac029bd5 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 27 Jun 2012 17:45:09 -0500 Subject: [PATCH] socket timeout on ssl bug --- VERSION | 2 +- gluon/rocket.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index cef0ace1..24da21d6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.00.0 (2012-06-27 16:53:32) dev +Version 2.00.0 (2012-06-27 17:45:06) dev diff --git a/gluon/rocket.py b/gluon/rocket.py index 3a1cf52b..335362f6 100644 --- a/gluon/rocket.py +++ b/gluon/rocket.py @@ -1374,6 +1374,8 @@ class Worker(Thread): d = d.decode('ISO-8859-1') except socket.timeout: raise SocketTimeout("Socket timed out before request.") + except TypeError: + raise SocketTimeout("Socket timed out before request.") d = d.strip()