summaryrefslogtreecommitdiff
path: root/python3
diff options
context:
space:
mode:
authorJoe Gregorio <jcgregorio@google.com>2011-06-13 13:09:20 -0400
committerJoe Gregorio <jcgregorio@google.com>2011-06-13 13:09:20 -0400
commitdcc062fcb9c3eeac045471919b017e70a258e217 (patch)
treef52e5130bf158511f7fc2326b8a8b184f3d89fba /python3
parente70941446da5b8a9953f85215054c8009f321208 (diff)
downloadhttplib2-dcc062fcb9c3eeac045471919b017e70a258e217.tar.gz
Fixes issue 145.
Diffstat (limited to 'python3')
-rw-r--r--python3/httplib2/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python3/httplib2/__init__.py b/python3/httplib2/__init__.py
index a53723b..c5ab677 100644
--- a/python3/httplib2/__init__.py
+++ b/python3/httplib2/__init__.py
@@ -895,6 +895,8 @@ the same interface as FileCache."""
pass
try:
response = conn.getresponse()
+ except socket.timeout:
+ raise
except (socket.error, http.client.HTTPException):
conn.close()
if i == 0: