diff options
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r-- | libmproxy/proxy.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 4cffaa3b..bdd71e19 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -122,7 +122,7 @@ class ProxyHandler(tcp.BaseHandler): def server_connect(self, scheme, host, port): sc = self.server_conn - if sc and (scheme, host, port) != (sc.scheme, sc.host, sc.port): + if sc and (host, port) != (sc.host, sc.port): sc.terminate() self.server_conn = None if not self.server_conn: |