diff options
author | Maximilian Hils <git@maximilianhils.com> | 2016-05-19 22:09:00 -0700 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2016-05-19 22:09:00 -0700 |
commit | f96697646ca495ddc045ab18134b8f70052c86ff (patch) | |
tree | 97ee4a73552b4b095576aaa3e30d0c8eacea9383 /mitmproxy/dump.py | |
parent | d38989fe7e4aade0b7ea6c8c7d0de80c2b28ec81 (diff) | |
download | mitmproxy-f96697646ca495ddc045ab18134b8f70052c86ff.tar.gz mitmproxy-f96697646ca495ddc045ab18134b8f70052c86ff.tar.bz2 mitmproxy-f96697646ca495ddc045ab18134b8f70052c86ff.zip |
add FlowMaster.active_flows
Diffstat (limited to 'mitmproxy/dump.py')
-rw-r--r-- | mitmproxy/dump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py index aae397cd..f1eabdb8 100644 --- a/mitmproxy/dump.py +++ b/mitmproxy/dump.py @@ -320,7 +320,6 @@ class DumpMaster(flow.FlowMaster): self.outfile.flush() def _process_flow(self, f): - self.state.delete_flow(f) if self.filt and not f.match(self.filt): return @@ -328,6 +327,7 @@ class DumpMaster(flow.FlowMaster): def handle_request(self, f): flow.FlowMaster.handle_request(self, f) + self.state.delete_flow(f) if f: f.reply() return f |