aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/dump.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-07-28 09:33:20 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-07-28 09:35:25 +1200
commit297cf5d565a1f86e7ffd0cabd2174c41925626e9 (patch)
treed2ad87b935bef9e1b6280ce0aa1850e9319256d6 /mitmproxy/dump.py
parentdb22e72103f00265625829fbf3a6637c80709a56 (diff)
downloadmitmproxy-297cf5d565a1f86e7ffd0cabd2174c41925626e9.tar.gz
mitmproxy-297cf5d565a1f86e7ffd0cabd2174c41925626e9.tar.bz2
mitmproxy-297cf5d565a1f86e7ffd0cabd2174c41925626e9.zip
mitmdump: send script .done when terminating after flow read
Fixes #1439
Diffstat (limited to 'mitmproxy/dump.py')
-rw-r--r--mitmproxy/dump.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py
index 83f44d87..e59fd23e 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()