aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/h2/h2.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-01 15:14:31 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-05 13:33:37 +0200
commit436291764c4e557155d7e4e87482a4e378a2ccce (patch)
tree96998eed155f3b0553ae5ecfe88980e90f387f0c /netlib/h2/h2.py
parent9883509f894dde57c8a71340a69581ac46c44f51 (diff)
downloadmitmproxy-436291764c4e557155d7e4e87482a4e378a2ccce.tar.gz
mitmproxy-436291764c4e557155d7e4e87482a4e378a2ccce.tar.bz2
mitmproxy-436291764c4e557155d7e4e87482a4e378a2ccce.zip
http2: fix default settings
Diffstat (limited to 'netlib/h2/h2.py')
-rw-r--r--netlib/h2/h2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/netlib/h2/h2.py b/netlib/h2/h2.py
index 707b1465..227139a3 100644
--- a/netlib/h2/h2.py
+++ b/netlib/h2/h2.py
@@ -29,8 +29,8 @@ class H2Client(tcp.TCPClient):
SettingsFrame.SETTINGS.SETTINGS_HEADER_TABLE_SIZE: 4096,
SettingsFrame.SETTINGS.SETTINGS_ENABLE_PUSH: 1,
SettingsFrame.SETTINGS.SETTINGS_MAX_CONCURRENT_STREAMS: None,
- SettingsFrame.SETTINGS.SETTINGS_INITIAL_WINDOW_SIZE: 2 ^ 16 - 1,
- SettingsFrame.SETTINGS.SETTINGS_MAX_FRAME_SIZE: 2 ^ 14,
+ SettingsFrame.SETTINGS.SETTINGS_INITIAL_WINDOW_SIZE: 2 ** 16 - 1,
+ SettingsFrame.SETTINGS.SETTINGS_MAX_FRAME_SIZE: 2 ** 14,
SettingsFrame.SETTINGS.SETTINGS_MAX_HEADER_LIST_SIZE: None,
}