From 4e9d4e8ddd0274949e44e52063eabd298a57b66e Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Sun, 1 Jul 2012 11:53:46 +1200 Subject: [PATCH] Tweak upstream SNI. --- libmproxy/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py index 6ab1d4899..f13dce60c 100644 --- a/libmproxy/proxy.py +++ b/libmproxy/proxy.py @@ -88,7 +88,7 @@ class ServerConnection(tcp.TCPClient): path = os.path.join(self.config.clientcerts, self.host) + ".pem" if os.path.exists(clientcert): clientcert = path - self.convert_to_ssl(clientcert=clientcert) + self.convert_to_ssl(clientcert=clientcert, sni=self.host) def send(self, request): self.requestcount += 1