From 297cf5d565a1f86e7ffd0cabd2174c41925626e9 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 28 Jul 2016 09:33:20 +1200 Subject: [PATCH] mitmdump: send script .done when terminating after flow read Fixes #1439 --- mitmproxy/dump.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py index 83f44d87a..e59fd23eb 100644 --- a/mitmproxy/dump.py +++ b/mitmproxy/dump.py @@ -118,5 +118,6 @@ class DumpMaster(flow.FlowMaster): def run(self): # pragma: no cover if self.options.rfile and not self.options.keepserving: + self.addons.done() return super(DumpMaster, self).run()