Commit cd5b37ea authored by David Wilson's avatar David Wilson

core: Use Side.read() rather than bare os.read().

parent 1155de85
......@@ -1085,7 +1085,7 @@ class IoLogger(BasicStream):
def on_receive(self, broker):
_vv and IOLOG.debug('%r.on_receive()', self)
buf = os.read(self.receive_side.fd, CHUNK_SIZE)
buf = self.receive_side.read()
if not buf:
return self.on_disconnect(broker)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment