We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5423dfa commit d8d069fCopy full SHA for d8d069f
wfb_ng/proxy.py
@@ -60,7 +60,7 @@ def _send_to_peer(self, data):
60
61
def messageReceived(self, data):
62
# send message to local transport
63
- if self.agg_max_size is None or self.agg_timeout is None:
+ if self.agg_max_size is None or not self.agg_timeout:
64
return self._send_to_peer(data)
65
66
if len(data) > self.agg_max_size:
@@ -188,7 +188,7 @@ def write(self, msg):
188
self.transport.write(msg, self.mirror)
189
190
# Send non-aggregated packets directly
191
192
self.transport.write(msg, self.reply_addr)
193
return
194
0 commit comments