diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-09-04 11:02:48 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-04 11:02:48 +1200 |
commit | 0483486c628d0e590231ed44bf5a3656122c543e (patch) | |
tree | a8d389eac26a375aa581a4372ac21a7da573fb39 /pathod/protocols/http2.py | |
parent | b476966a45a6f77b1a819867dbbc943af9a57ef0 (diff) | |
parent | 3da9e37d9eb346f8e9cf4ab1b3be15abc1051f57 (diff) | |
download | mitmproxy-0483486c628d0e590231ed44bf5a3656122c543e.tar.gz mitmproxy-0483486c628d0e590231ed44bf5a3656122c543e.tar.bz2 mitmproxy-0483486c628d0e590231ed44bf5a3656122c543e.zip |
Merge pull request #1523 from Kriechi/http2
improve error handling in http2
Diffstat (limited to 'pathod/protocols/http2.py')
-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("<<")) |