Permalink
Browse files

fix incorrect wait_for_readable call in TCPConnection

git-svn-id: http://chiral.j4cbo.com/svn/trunk@105 a827fe29-2235-0410-a7a9-cacdfe24a5d3
  • Loading branch information...
jacob
jacob committed Mar 10, 2008
1 parent 61bb7bd commit 3db49c41d56af1e2c510414a85388afc84678b92
Showing with 1 addition and 1 deletion.
  1. +1 −1 chiral/net/tcp.py
View
@@ -250,7 +250,7 @@ def _sendall_coro(self, data):
"""Helper coroutine created by `sendall` if not all data could be sent."""
while data:
yield reactor.wait_for_readable(self)
yield reactor.wait_for_readable(self.remote_sock)
try:
res = self.remote_sock.send(data)

0 comments on commit 3db49c4

Please sign in to comment.