From d6deec60b0e59c30e92da7fac5f4f453ce427559 Mon Sep 17 00:00:00 2001 From: Shadab Zafar Date: Fri, 22 Jul 2016 16:08:09 +0530 Subject: [PATCH] Add marked attribute when converting flow to 0.18 --- mitmproxy/flow/io_compat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mitmproxy/flow/io_compat.py b/mitmproxy/flow/io_compat.py index 8cd883c33..061bf16de 100644 --- a/mitmproxy/flow/io_compat.py +++ b/mitmproxy/flow/io_compat.py @@ -60,6 +60,7 @@ def convert_017_018(data): data = convert_unicode(data) data["server_conn"]["ip_address"] = data["server_conn"].pop("peer_address") + data["marked"] = False data["version"] = (0, 18) return data