From b6e52bef8af034047e8c0d9a91bbb8703f2275e0 Mon Sep 17 00:00:00 2001 From: Benoit Chesneau Date: Mon, 18 Jan 2010 17:26:28 +0100 Subject: [PATCH] oups forget to reverse a little change --- gunicorn/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/util.py b/gunicorn/util.py index 2572b475..770fd995 100644 --- a/gunicorn/util.py +++ b/gunicorn/util.py @@ -80,9 +80,9 @@ def write(sock, data): return dlen except socket.error, e: if e[0] in (errno.EWOULDBLOCK, errno.EAGAIN): - raise - elif e[0] in (errno.EPIPE,): break + elif e[0] in (errno.EPIPE,): + continue raise def write_nonblock(sock, data):