From: Ben Darnell Date: Sun, 15 Jun 2014 15:33:46 +0000 (-0400) Subject: Add ETIMEDOUT to the list of relatively benign unclean-close errnos. X-Git-Tag: v4.0.0b1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=409ddc474a90fc0153d89295cc267c2243b9ec1e;p=thirdparty%2Ftornado.git Add ETIMEDOUT to the list of relatively benign unclean-close errnos. --- diff --git a/tornado/iostream.py b/tornado/iostream.py index 910abbc92..7aa268e5c 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -59,7 +59,8 @@ _ERRNO_WOULDBLOCK = (errno.EWOULDBLOCK, errno.EAGAIN) # These errnos indicate that a connection has been abruptly terminated. # They should be caught and handled less noisily than other errors. -_ERRNO_CONNRESET = (errno.ECONNRESET, errno.ECONNABORTED, errno.EPIPE) +_ERRNO_CONNRESET = (errno.ECONNRESET, errno.ECONNABORTED, errno.EPIPE, + errno.ETIMEDOUT) class StreamClosedError(IOError):