Commit 33b6cb69 authored by Vincent Pelletier's avatar Vincent Pelletier

Make it easier to link timeout log with packet log.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2539 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8615d47a
...@@ -286,7 +286,7 @@ class BaseConnection(object): ...@@ -286,7 +286,7 @@ class BaseConnection(object):
if handlers.isPending(): if handlers.isPending():
msg_id = handlers.checkTimeout(self, t) msg_id = handlers.checkTimeout(self, t)
if msg_id is not None: if msg_id is not None:
neo.logging.info('timeout for %r with %r', msg_id, self) neo.logging.info('timeout for #0x%08x with %r', msg_id, self)
self.close() self.close()
self.getHandler().timeoutExpired(self) self.getHandler().timeoutExpired(self)
elif self._timeout.hardExpired(t): elif self._timeout.hardExpired(t):
......
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