Commit e712e586 authored by Aurel's avatar Aurel

propagate protocolError message to original connection


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@721 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5c20c924
......@@ -311,6 +311,10 @@ class MasterRequestEventHandler(MasterBaseEventHandler):
p = protocol.noError(msg)
client_conn.notify(p, kw['msg_id'])
def handleProtocolError(self, conn, packet, msg):
client_conn, kw = self.app.dispatcher.retrieve(packet.getId())
p = protocol.protocolError(msg)
client_conn.notify(p, kw['msg_id'])
class MasterBootstrapEventHandler(MasterBaseEventHandler):
"""This class manage the bootstrap part to the primary master node"""
......
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