aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathod.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-04-30 08:03:26 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-04-30 08:03:26 +1200
commitf927701e74a3b6a22694a0d55e918febbeca9e98 (patch)
tree7796b5cdc97cbded0a5e2e924d41d08b79851e61 /test/test_pathod.py
parent7e69fab331297f08ce066667ebd8a2daefce6747 (diff)
downloadmitmproxy-f927701e74a3b6a22694a0d55e918febbeca9e98.tar.gz
mitmproxy-f927701e74a3b6a22694a0d55e918febbeca9e98.tar.bz2
mitmproxy-f927701e74a3b6a22694a0d55e918febbeca9e98.zip
Websocket frame read limit.
Diffstat (limited to 'test/test_pathod.py')
-rw-r--r--test/test_pathod.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pathod.py b/test/test_pathod.py
index 1a10d2c2..bfff3274 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -185,10 +185,10 @@ class CommonTests(tutils.DaemonTests):
assert r.status_code == 202
def test_websocket(self):
- r = self.pathoc("ws:/p/")
+ r = self.pathoc("ws:/p/", ws_read_limit=0)
assert r.status_code == 101
- r = self.pathoc("ws:/p/ws")
+ r = self.pathoc("ws:/p/ws", ws_read_limit=0)
assert r.status_code == 101