From 4ac59a7859962f40fd7c7eb787664bda574cfed8 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 26 Aug 2011 18:03:03 +1200 Subject: [PATCH] Fix a rare crash in sticky cookies. --- libmproxy/flow.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmproxy/flow.py b/libmproxy/flow.py index 83d69753a..c09352c2a 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -1312,7 +1312,8 @@ class FlowMaster(controller.Master): self.client_playback.clear(f) if not f: r._ack() - self.process_new_response(f) + if f: + self.process_new_response(f) return f def shutdown(self):