Commit 09767ca4 authored by Vincent Pelletier's avatar Vincent Pelletier

Fix a case where answers were dropped.

This can happen when a non-waited-for answers is followed by a waited-for
answer for the same node: the first answer is for the same connection, but
has a different msg_id, so it was just dropped.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2495 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 46ab2a3d
...@@ -272,7 +272,7 @@ class Application(object): ...@@ -272,7 +272,7 @@ class Application(object):
'explicitely expected packet.' 'explicitely expected packet.'
_handlePacket(conn, packet, handler=handler) _handlePacket(conn, packet, handler=handler)
break break
elif not is_forgotten and packet is not None: if not is_forgotten and packet is not None:
_handlePacket(conn, packet) _handlePacket(conn, packet)
@profiler_decorator @profiler_decorator
......
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