diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-16 18:44:34 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-16 18:44:34 +0200 |
commit | 9f26d68f47bc7729b0727ed67253503e047ea0f9 (patch) | |
tree | 50178b4346384ec12e2ae3fd41b508a06d68f1c8 /libpathod/protocols/http2.py | |
parent | b889e9e1a2576b0f0aadb4180dd6f4c75db204d6 (diff) | |
download | mitmproxy-9f26d68f47bc7729b0727ed67253503e047ea0f9.tar.gz mitmproxy-9f26d68f47bc7729b0727ed67253503e047ea0f9.tar.bz2 mitmproxy-9f26d68f47bc7729b0727ed67253503e047ea0f9.zip |
adjust to netlib changes
Diffstat (limited to 'libpathod/protocols/http2.py')
-rw-r--r-- | libpathod/protocols/http2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpathod/protocols/http2.py b/libpathod/protocols/http2.py index f57f56f8..44a51410 100644 --- a/libpathod/protocols/http2.py +++ b/libpathod/protocols/http2.py @@ -5,7 +5,7 @@ class HTTP2Protocol: def __init__(self, pathod_handler): self.pathod_handler = pathod_handler - self.wire_protocol = http2.HTTP2Protocol( + self.wire_protocol = http2.connections.HTTP2Protocol( self.pathod_handler, is_server=True, dump_frames=self.pathod_handler.http2_framedump ) @@ -14,7 +14,7 @@ class HTTP2Protocol: def read_request(self, lg=None): self.wire_protocol.perform_server_connection_preface() - return self.wire_protocol.read_request() + return self.wire_protocol.read_request(self.pathod_handler.rfile) def assemble(self, message): return self.wire_protocol.assemble(message) |