summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrien Guinet <aguinet@quarkslab.com>2013-12-17 16:15:25 +0100
committerAdrien Guinet <aguinet@quarkslab.com>2013-12-17 16:15:25 +0100
commit953fcab2d0cb1a73992abf66834d416b2a913b38 (patch)
tree4b47a344c9c2a4dead3ee483fcb39550add10cf1
parent89ef0d2d0d0f6577d4c5d56880f134638024f93e (diff)
downloadpy-amqp-953fcab2d0cb1a73992abf66834d416b2a913b38.tar.gz
Closes #27
SSL socket timeout can return errno.ENOENT
-rw-r--r--amqp/transport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/amqp/transport.py b/amqp/transport.py
index 975ced1..c049390 100644
--- a/amqp/transport.py
+++ b/amqp/transport.py
@@ -51,7 +51,7 @@ from struct import pack, unpack
from .exceptions import UnexpectedFrame
from .utils import get_errno, set_cloexec
-_UNAVAIL = errno.EAGAIN, errno.EINTR
+_UNAVAIL = errno.EAGAIN, errno.EINTR, errno.ENOENT
AMQP_PORT = 5672