aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmill@cuckoo.sh <smill@cuckoo.sh>2016-09-22 08:29:07 +0000
committersmill@cuckoo.sh <smill@cuckoo.sh>2016-09-22 08:29:07 +0000
commitab546a7348740e36e7092649606fdb0df95bd2a3 (patch)
tree67cb1648af474f9412a114f10b2a613b89aa0c6f
parent3962a11575ec6118cff8ba10ec81b9679e68faa2 (diff)
downloadmitmproxy-ab546a7348740e36e7092649606fdb0df95bd2a3.tar.gz
mitmproxy-ab546a7348740e36e7092649606fdb0df95bd2a3.tar.bz2
mitmproxy-ab546a7348740e36e7092649606fdb0df95bd2a3.zip
Introduced comment regarding socket manipulation through the server_conn stub.
-rw-r--r--netlib/tcp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/netlib/tcp.py b/netlib/tcp.py
index 47200bed..2c55de85 100644
--- a/netlib/tcp.py
+++ b/netlib/tcp.py
@@ -731,6 +731,7 @@ class TCPClient(_Connection):
def connect(self):
try:
+ # Allow the socket to be manipulated by using the server_conn stub.
if not self.connection:
connection = socket.socket(self.address.family, socket.SOCK_STREAM)
else: