Skip to content

Commit

Permalink
Merge branch 'master' of github.com:celery/kombu
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Oct 12, 2012
2 parents 7b5551f + 9d0668e commit 96b3b0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kombu/transport/amqplib.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ def read_timeout(self, timeout=None):
# http://bugs.python.org/issue10272
if 'timed out' in str(exc):
raise socket.timeout()
# Non-blocking SSL sockets can throw SSLError
if 'The operation did not complete' in str(exc):
raise socket.timeout()
raise
finally:
if prev != timeout:
Expand Down

0 comments on commit 96b3b0b

Please sign in to comment.