diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-07-19 14:06:02 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-07-19 16:25:09 +1200 |
commit | 5cfe783b6c38b9fa6473e57b9567149146829108 (patch) | |
tree | a85229a6a57a6aa63562920563c00c48b34fc3e6 /mitmproxy/dump.py | |
parent | fb6e9c44c82346df2ab434a0aa6db34fb50902b2 (diff) | |
download | mitmproxy-5cfe783b6c38b9fa6473e57b9567149146829108.tar.gz mitmproxy-5cfe783b6c38b9fa6473e57b9567149146829108.tar.bz2 mitmproxy-5cfe783b6c38b9fa6473e57b9567149146829108.zip |
ProxyConfig: http2, rawtcp, no_upstream_cert -> Options
Diffstat (limited to 'mitmproxy/dump.py')
-rw-r--r-- | mitmproxy/dump.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/dump.py b/mitmproxy/dump.py index eaa368a0..78dd2578 100644 --- a/mitmproxy/dump.py +++ b/mitmproxy/dump.py @@ -53,7 +53,7 @@ class DumpMaster(flow.FlowMaster): self.set_stream_large_bodies(options.stream_large_bodies) - if self.server and self.server.config.http2 and not tcp.HAS_ALPN: # pragma: no cover + if self.server and self.options.http2 and not tcp.HAS_ALPN: # pragma: no cover print("ALPN support missing (OpenSSL 1.0.2+ required)!\n" "HTTP/2 is disabled. Use --no-http2 to silence this warning.", file=sys.stderr) |