mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
specified cipher_list in a few more locations, added a missing comma
This commit is contained in:
@@ -45,7 +45,8 @@ class ProxyConfig:
|
||||
authenticator=None,
|
||||
ignore_hosts=[],
|
||||
tcp_hosts=[],
|
||||
ciphers=None,
|
||||
client_ciphers=None,
|
||||
server_ciphers=None,
|
||||
certs=[],
|
||||
certforward=False,
|
||||
ssl_version_client="secure",
|
||||
@@ -189,7 +190,8 @@ def process_proxy_options(parser, options):
|
||||
ignore_hosts=options.ignore_hosts,
|
||||
tcp_hosts=options.tcp_hosts,
|
||||
authenticator=authenticator,
|
||||
ciphers=options.ciphers,
|
||||
client_ciphers=options.client_ciphers,
|
||||
server_ciphers=options.server_ciphers,
|
||||
certs=certs,
|
||||
certforward=options.certforward,
|
||||
ssl_version_client=options.ssl_version_client,
|
||||
|
||||
@@ -188,7 +188,7 @@ class ConnectionHandler:
|
||||
self.config.clientcerts,
|
||||
sni,
|
||||
method=self.config.openssl_server_method,
|
||||
options=self.config.openssl_server_options
|
||||
options=self.config.openssl_server_options,
|
||||
cipher_list=self.config.server_ciphers,
|
||||
)
|
||||
except tcp.NetLibError as v:
|
||||
|
||||
Reference in New Issue
Block a user