From 35fdd16940a922a0df4fc6eb71e5c447002e72d5 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 1 Jul 2012 00:16:30 +1200 Subject: Serialize address as part of ClientConnect objects. This is a serialization format change! --- libmproxy/flow.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmproxy/flow.py') diff --git a/libmproxy/flow.py b/libmproxy/flow.py index a93f8e24..edd10f49 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -655,12 +655,14 @@ class ClientConnect(controller.Msg): def _load_state(self, state): self.close = True + self.error = state["error"] self.requestcount = state["requestcount"] def _get_state(self): return dict( address = list(self.address), requestcount = self.requestcount, + error = self.error, ) @classmethod -- cgit v1.2.3