celery/py-amqp — pull request #38 by cjellick (2014-04-12 01:04:53+00:00)
Title: Handle SSL closed socket bug

There is a bug in the python socket library wherein attempting
ssl.read/write on a closed socket raises an AttributeError instead of
IOError. We need to catch that case and raise an IOError.

Here's the underlying socket bug:
http://bugs.python.org/issue9177