From 9f26d68f47bc7729b0727ed67253503e047ea0f9 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 16 Sep 2015 18:44:34 +0200 Subject: adjust to netlib changes --- libpathod/protocols/http2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpathod/protocols/http2.py') 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) -- cgit v1.2.3 From 1a6e41c2002773bb82a5d95d8d9a8ab3aa422c98 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Wed, 16 Sep 2015 20:12:53 +0200 Subject: minor fixes --- libpathod/protocols/http2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpathod/protocols/http2.py') diff --git a/libpathod/protocols/http2.py b/libpathod/protocols/http2.py index 44a51410..a098a14e 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.connections.HTTP2Protocol( + self.wire_protocol = http2.HTTP2Protocol( self.pathod_handler, is_server=True, dump_frames=self.pathod_handler.http2_framedump ) -- cgit v1.2.3