diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2016-07-28 09:33:20 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2016-07-28 09:35:25 +1200 |
| commit | 297cf5d565a1f86e7ffd0cabd2174c41925626e9 (patch) | |
| tree | d2ad87b935bef9e1b6280ce0aa1850e9319256d6 | |
| parent | db22e72103f00265625829fbf3a6637c80709a56 (diff) | |
| download | mitmproxy-297cf5d565a1f86e7ffd0cabd2174c41925626e9.tar.gz mitmproxy-297cf5d565a1f86e7ffd0cabd2174c41925626e9.tar.bz2 mitmproxy-297cf5d565a1f86e7ffd0cabd2174c41925626e9.zip | |
mitmdump: send script .done when terminating after flow read
Fixes #1439
| -rw-r--r-- | mitmproxy/dump.py | 1 |
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() |
