mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Introduced comment regarding socket manipulation through the server_conn stub.
This commit is contained in:
parent
3962a11575
commit
ab546a7348
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user