Revision 45eac583
b/lib/http/__init__.py | ||
---|---|---|
387 | 387 |
except HttpSocketTimeout: |
388 | 388 |
raise HttpError("Timeout while shutting down connection") |
389 | 389 |
except socket.error, err: |
390 |
raise HttpError("Error while shutting down connection: %s" % err) |
|
390 |
# Ignore ENOTCONN |
|
391 |
if not (err.args and err.args[0] == errno.ENOTCONN): |
|
392 |
raise HttpError("Error while shutting down connection: %s" % err) |
|
391 | 393 |
|
392 | 394 |
|
393 | 395 |
def Handshake(poller, sock, write_timeout): |
Also available in: Unified diff