mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Tweak upstream SNI.
This commit is contained in:
parent
9985cf5473
commit
4e9d4e8ddd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user