diff --git a/libmproxy/protocol/tcp.py b/libmproxy/protocol/tcp.py index 406a6f7b2..df7e6692f 100644 --- a/libmproxy/protocol/tcp.py +++ b/libmproxy/protocol/tcp.py @@ -9,6 +9,7 @@ class TCPHandler(ProtocolHandler): Data will be .log()ed, but not stored any further. """ def handle_messages(self): + self.c.establish_server_connection() conns = [self.c.client_conn.rfile, self.c.server_conn.rfile] while not self.c.close: r, _, _ = select.select(conns, [], [], 10)