Commit 33a77571 authored by Josh Kunz's avatar Josh Kunz

Actually abort handling if we've received a non-pending reply

parent c61fffda
Pipeline #1909 passed with stage
in 30 seconds
......@@ -476,6 +476,7 @@ class Protocol(object):
def _handle_reply(self, msg):
if msg.uuid not in self.pending_replies:
log.warn("Received non-pending reply, discarding (uuid: {0})".format(msg.uuid))
return
self.pending_replies[msg.uuid].fulfil(Reply(msg.reply, self))
del self.pending_replies[msg.uuid]
......
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