aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-22 16:11:28 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-26 10:48:42 +0200
commit7d7ae446a2543720c6da0698170a91bf20b6b62a (patch)
tree7a174109afc61f3798f404fc861c2abc0e587cd7
parent01f098296870cf56f835fa1222607d8216f52811 (diff)
downloadmitmproxy-7d7ae446a2543720c6da0698170a91bf20b6b62a.tar.gz
mitmproxy-7d7ae446a2543720c6da0698170a91bf20b6b62a.tar.bz2
mitmproxy-7d7ae446a2543720c6da0698170a91bf20b6b62a.zip
http2: fix framedump argument usage
-rw-r--r--libpathod/pathoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathoc.py b/libpathod/pathoc.py
index af43defc..e4aadd40 100644
--- a/libpathod/pathoc.py
+++ b/libpathod/pathoc.py
@@ -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
#n104'>104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156