diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-08-23 19:29:24 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-09-03 10:00:31 +0200 |
commit | 5dda9505b6f07422eb9a24590f30e9230a5453ef (patch) | |
tree | 7b04df72e4f16eb29420f363a57ddc8d87a8c641 /pathod/protocols | |
parent | 043180a8faa2b6f9f75c3fe12b110ee18e623fbf (diff) | |
download | mitmproxy-5dda9505b6f07422eb9a24590f30e9230a5453ef.tar.gz mitmproxy-5dda9505b6f07422eb9a24590f30e9230a5453ef.tar.bz2 mitmproxy-5dda9505b6f07422eb9a24590f30e9230a5453ef.zip |
http2: improve framereader
Diffstat (limited to 'pathod/protocols')
-rw-r--r-- | pathod/protocols/http2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/protocols/http2.py b/pathod/protocols/http2.py index 5ad120de..a2aa91b4 100644 --- a/pathod/protocols/http2.py +++ b/pathod/protocols/http2.py @@ -254,7 +254,7 @@ class HTTP2StateProtocol(object): def read_frame(self, hide=False): while True: - frm = http2.framereader.http2_read_frame(self.tcp_handler.rfile) + frm = http2.parse_frame(*http2.read_raw_frame(self.tcp_handler.rfile)) if not hide and self.dump_frames: # pragma no cover print(frm.human_readable("<<")) |