aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/net
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2018-05-12 13:06:08 +1200
committerAldo Cortesi <aldo@nullcube.com>2018-05-12 13:14:26 +1200
commit94428b2ffdcb5780a7a12373472b6a21eb9fd83e (patch)
treea5118f030786997e329fcb5986139e04998d7235 /mitmproxy/net
parent33eba29d1e6801af1b2e067503a2f505be3f489b (diff)
downloadmitmproxy-94428b2ffdcb5780a7a12373472b6a21eb9fd83e.tar.gz
mitmproxy-94428b2ffdcb5780a7a12373472b6a21eb9fd83e.tar.bz2
mitmproxy-94428b2ffdcb5780a7a12373472b6a21eb9fd83e.zip
script: tweak explicit command invocation
Diffstat (limited to 'mitmproxy/net')
-rw-r--r--mitmproxy/net/tcp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/net/tcp.py b/mitmproxy/net/tcp.py
index 23284057..2496d47c 100644
--- a/mitmproxy/net/tcp.py
+++ b/mitmproxy/net/tcp.py
@@ -586,7 +586,7 @@ class TCPServer:
with self.handler_counter:
try:
self.handle_client_connection(connection, client_address)
- except OSError as e:
+ except OSError as e: # pragma: no cover
# This catches situations where the underlying connection is
# closed beneath us. Syscalls on the connection object at this
# point returns EINVAL. If this happens, we close the socket and