We no longer store scheme on ServerConnection.

This commit is contained in:
Aldo Cortesi 2012-06-26 18:29:12 +12:00
parent 52d0536d2c
commit 015a74fd14
1 changed files with 1 additions and 1 deletions

View File

@ -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: