aboutsummaryrefslogtreecommitdiffstats
path: root/pathod
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2017-07-25 21:57:54 +0200
committerGitHub <noreply@github.com>2017-07-25 21:57:54 +0200
commitd409a6c09a873c8131c5e6938aea496904f324c3 (patch)
tree99d7c442043e1cf4105a8b95f2494ed81a07b53c /pathod
parent3262b6e70510e3fd78c512ee79fcb8eb35d371ba (diff)
parent4855659eebfe7b2ea965daced88879277b75439c (diff)
downloadmitmproxy-d409a6c09a873c8131c5e6938aea496904f324c3.tar.gz
mitmproxy-d409a6c09a873c8131c5e6938aea496904f324c3.tar.bz2
mitmproxy-d409a6c09a873c8131c5e6938aea496904f324c3.zip
Merge pull request #2469 from Kriechi/nuke-old-openssl
nuke old openssl
Diffstat (limited to 'pathod')
-rw-r--r--pathod/pathoc.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/pathod/pathoc.py b/pathod/pathoc.py
index 4a613349..63a15b55 100644
--- a/pathod/pathoc.py
+++ b/pathod/pathoc.py
@@ -223,14 +223,6 @@ class Pathoc(tcp.TCPClient):
self.ws_framereader = None
if self.use_http2:
- if not tcp.HAS_ALPN: # pragma: no cover
- log.write_raw(
- self.fp,
- "HTTP/2 requires ALPN support. "
- "Please use OpenSSL >= 1.0.2. "
- "Pathoc might not be working as expected without ALPN.",
- timestamp=False
- )
self.protocol = http2.HTTP2StateProtocol(self, dump_frames=self.http2_framedump)
else:
self.protocol = net_http.http1