diff --git a/mitogen/core.py b/mitogen/core.py index 696b89ea..f70fbf76 100644 --- a/mitogen/core.py +++ b/mitogen/core.py @@ -664,7 +664,7 @@ class Side(object): if self.fd is None: return None - written, disconnected = io_op(os.write, self.fd, s[:CHUNK_SIZE]) + written, disconnected = io_op(os.write, self.fd, s) if disconnected: return None return written