mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
http2: fix framedump argument usage
This commit is contained in:
parent
01f0982968
commit
7d7ae446a2
@ -224,7 +224,7 @@ class Pathoc(tcp.TCPClient):
|
||||
"Please use OpenSSL >= 1.0.2. "
|
||||
"Pathoc might not be working as expected without ALPN."
|
||||
)
|
||||
self.protocol = http2.HTTP2Protocol(self)
|
||||
self.protocol = http2.HTTP2Protocol(self, dump_frames=self.http2_framedump)
|
||||
else:
|
||||
# TODO: create HTTP or Websockets protocol
|
||||
self.protocol = None
|
||||
|
Loading…
Reference in New Issue
Block a user