mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
adjust to changed netlib api
This commit is contained in:
parent
353a6ace47
commit
15a8a93a4e
@ -295,7 +295,7 @@ class ConnectionHandler:
|
||||
self.server_reconnect(sni) # reconnect to upstream server with SNI
|
||||
# Now, change client context to reflect changed certificate:
|
||||
cert, key, chain_file = self.find_cert()
|
||||
new_context = self.client_conn._create_ssl_context(
|
||||
new_context = self.client_conn.create_ssl_context(
|
||||
cert, key,
|
||||
method=self.config.openssl_method_client,
|
||||
options=self.config.openssl_options_client,
|
||||
|
Loading…
Reference in New Issue
Block a user