From c2828de4a14c2b4a13279eda878ba3d7a1f43cbb Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 17 Feb 2014 17:25:45 +0100 Subject: fix bug: ensure that server connection is present for tcp connections --- libmproxy/protocol/tcp.py | 1 + 1 file changed, 1 insertion(+) (limited to 'libmproxy/protocol') diff --git a/libmproxy/protocol/tcp.py b/libmproxy/protocol/tcp.py index 406a6f7b..df7e6692 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) -- cgit v1.2.3