aboutsummaryrefslogtreecommitdiffstats
path: root/pathod
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2017-07-25 10:03:19 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2017-07-25 10:56:24 +0200
commit4855659eebfe7b2ea965daced88879277b75439c (patch)
tree5875405970865b00d50ed3bcd1f5ef10e3b8d7de /pathod
parenta2c2b1a9cbac8d3c6cf82dadd9047adedd97fe84 (diff)
downloadmitmproxy-4855659eebfe7b2ea965daced88879277b75439c.tar.gz
mitmproxy-4855659eebfe7b2ea965daced88879277b75439c.tar.bz2
mitmproxy-4855659eebfe7b2ea965daced88879277b75439c.zip
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