##// END OF EJS Templates
flush pub_socket in OutStream.flush...
MinRK -
Show More
@@ -45,6 +45,9 b' class OutStream(object):'
45 msg = self.session.send(self.pub_socket, u'stream', content=content,
45 msg = self.session.send(self.pub_socket, u'stream', content=content,
46 parent=self.parent_header, ident=self.topic)
46 parent=self.parent_header, ident=self.topic)
47
47
48 if hasattr(self.pub_socket, 'flush'):
49 # socket itself has flush (presumably ZMQStream)
50 self.pub_socket.flush()
48 self._buffer.close()
51 self._buffer.close()
49 self._new_buffer()
52 self._new_buffer()
50
53
General Comments 0
You need to be logged in to leave comments. Login now