Commit eccdd076 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Handle closure of non-target connections.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1864 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6d63a03d
......@@ -222,7 +222,8 @@ class Application(object):
if msg_id == packet.getId():
self._handlePacket(conn, packet, handler=handler)
break
self._handlePacket(conn, packet)
elif packet is not None:
self._handlePacket(conn, packet)
def _askStorage(self, conn, packet, timeout=5, additional_timeout=30):
""" Send a request to a storage node and process it's answer """
......
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