aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/flow.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-05-11 16:34:18 -0600
committerMaximilian Hils <git@maximilianhils.com>2016-05-19 22:07:56 -0700
commitd3c30d9005e42a68cb3f5a5440f30f01f100cbec (patch)
tree3c2d9de138e8770e87d1d8e030934310d5f286a0 /mitmproxy/flow.py
parentacd51befbb89f28397f8e3e52ead5bfa11fdc93f (diff)
downloadmitmproxy-d3c30d9005e42a68cb3f5a5440f30f01f100cbec.tar.gz
mitmproxy-d3c30d9005e42a68cb3f5a5440f30f01f100cbec.tar.bz2
mitmproxy-d3c30d9005e42a68cb3f5a5440f30f01f100cbec.zip
fix tests, don't double-add error'd flows
Diffstat (limited to 'mitmproxy/flow.py')
-rw-r--r--mitmproxy/flow.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/mitmproxy/flow.py b/mitmproxy/flow.py
index 1d05d4bb..77ed8747 100644
--- a/mitmproxy/flow.py
+++ b/mitmproxy/flow.py
@@ -1116,8 +1116,6 @@ class FlowMaster(controller.ServerMaster):
flow.reply()
def handle_tcp_error(self, flow):
- if self.stream:
- self.stream.add(flow)
self.add_event("Error in TCP connection to {}: {}".format(
repr(flow.server_conn.address),
flow.error