diff --git a/cassandra/io/eventletreactor.py b/cassandra/io/eventletreactor.py index 8fda42fb..dfaea8bf 100644 --- a/cassandra/io/eventletreactor.py +++ b/cassandra/io/eventletreactor.py @@ -38,7 +38,8 @@ def is_timeout(err): return ( err in (EINPROGRESS, EALREADY, EWOULDBLOCK) or (err == EINVAL and os.name in ('nt', 'ce')) or - (isinstance(err, ssl.SSLError) and err.args[0] == 'timed out') + (isinstance(err, ssl.SSLError) and err.args[0] == 'timed out') or + isinstance(err, socket.timeout) )