diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-07-19 16:59:23 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-19 16:59:23 +1200 |
commit | ecd01ce7c68dfe46c37482ddbc6ae58cc029af3b (patch) | |
tree | 41a322456f55f8a87b41aba0489cb990846bbfd2 /mitmproxy/dump.py | |
parent | 5034a6232c715b332ede160babdd7e875b25ca23 (diff) | |
parent | 9c9d28d068d5c0aadea2baf10b48435f6283d659 (diff) | |
download | mitmproxy-ecd01ce7c68dfe46c37482ddbc6ae58cc029af3b.tar.gz mitmproxy-ecd01ce7c68dfe46c37482ddbc6ae58cc029af3b.tar.bz2 mitmproxy-ecd01ce7c68dfe46c37482ddbc6ae58cc029af3b.zip |
Merge pull request #1379 from cortesi/proxyconfig
Unify ProxyConfig and 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) |