##// END OF EJS Templates
url: fix https client authentication through proxy...
Mads Kiilerich -
r12906:ae163a0a stable
parent child Browse files
Show More
@@ -540,8 +540,8 b' if has_https:'
540 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
540 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
541 self.sock.connect((self.host, self.port))
541 self.sock.connect((self.host, self.port))
542 if _generic_proxytunnel(self):
542 if _generic_proxytunnel(self):
543 self.sock = _ssl_wrap_socket(self.sock, self.cert_file,
543 self.sock = _ssl_wrap_socket(self.sock, self.key_file,
544 self.key_file)
544 self.cert_file)
545 else:
545 else:
546 BetterHTTPS.connect(self)
546 BetterHTTPS.connect(self)
547
547
General Comments 0
You need to be logged in to leave comments. Login now