From 4eea265925cc775f7d8023744b3147881aa17b6b Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sat, 5 Nov 2016 08:09:46 +1300 Subject: [PATCH] Remove unused protocol attribute on connections. --- mitmproxy/connections.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mitmproxy/connections.py b/mitmproxy/connections.py index f3a752221..c7941ad9b 100644 --- a/mitmproxy/connections.py +++ b/mitmproxy/connections.py @@ -42,7 +42,6 @@ class ClientConnection(tcp.BaseHandler, stateobject.StateObject): self.timestamp_start = time.time() self.timestamp_end = None self.timestamp_ssl_setup = None - self.protocol = None self.sni = None self.cipher_name = None self.tls_version = None @@ -144,7 +143,6 @@ class ServerConnection(tcp.TCPClient, stateobject.StateObject): self.timestamp_end = None self.timestamp_tcp_setup = None self.timestamp_ssl_setup = None - self.protocol = None def connected(self): return bool(self.connection) and not self.finished