Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#41 - must be EWOULDBLOCK instead of EAGAIN to make windows happy

  • Loading branch information...
commit 43b35ec7fc17eb1d2b9d2d81ee4065257088a1c2 1 parent c448c1a
@majek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  puka/connection.py
View
2  puka/connection.py
@@ -194,7 +194,7 @@ def on_write(self):
# On windows socket.send blows up if the buffer is too large.
r = self.sd.send(self.send_buf.read(128*1024))
except socket.error, e:
- if e.errno in (errno.EAGAIN, errno.ENOBUFS):
+ if e.errno in (errno.EWOULDBLOCK, errno.ENOBUFS):
return
else:
raise
Please sign in to comment.
Something went wrong with that request. Please try again.