issue #477: bump corrupt msg output size to 2Kb

Allows much more of any tracebacks present to become visible.
issue510
David Wilson 6 years ago
parent 3e255129ab
commit a1e0b4381f

@ -1479,7 +1479,7 @@ class Stream(BasicStream):
)
if magic != self.HEADER_MAGIC:
LOG.error(self.corrupt_msg, self._input_buf[0][:128])
LOG.error(self.corrupt_msg, self._input_buf[0][:2048])
self.on_disconnect(broker)
return False

Loading…
Cancel
Save