http2: fix framedump argument usage

This commit is contained in:
Thomas Kriechbaumer 2015-06-22 16:11:28 +02:00
parent 01f0982968
commit 7d7ae446a2

View File

@ -224,7 +224,7 @@ class Pathoc(tcp.TCPClient):
"Please use OpenSSL >= 1.0.2. " "Please use OpenSSL >= 1.0.2. "
"Pathoc might not be working as expected without ALPN." "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: else:
# TODO: create HTTP or Websockets protocol # TODO: create HTTP or Websockets protocol
self.protocol = None self.protocol = None