aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/dump.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2016-07-28 10:22:30 +1200
committerGitHub <noreply@github.com>2016-07-28 10:22:30 +1200
commit75ab006ca99d5cfaf2497e97bb8745464d643903 (patch)
tree09cc51baaa48b3b2d91921a5289eb81f885163a9 /mitmproxy/dump.py
parent3aad0119884918e7718bc70d650d3ae99a27bbaa (diff)
parent297cf5d565a1f86e7ffd0cabd2174c41925626e9 (diff)
downloadmitmproxy-75ab006ca99d5cfaf2497e97bb8745464d643903.tar.gz
mitmproxy-75ab006ca99d5cfaf2497e97bb8745464d643903.tar.bz2
mitmproxy-75ab006ca99d5cfaf2497e97bb8745464d643903.zip
Merge pull request #1442 from cortesi/scripts
mitmdump: send script .done when terminating after flow read
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()