aboutsummaryrefslogtreecommitdiffstats
path: root/test/ws_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-03-06 01:56:30 +0100
committerLoïc Hoguin <[email protected]>2015-03-06 01:56:30 +0100
commit90ae31998e8d0887b9efe4b441136ac047708bb9 (patch)
treebacf42f933e3bdb771395de00786e4142485e99a /test/ws_SUITE.erl
parentd2205d9ea6aa71ff256c48667755676d0e6c2377 (diff)
downloadcowboy-90ae31998e8d0887b9efe4b441136ac047708bb9.tar.gz
cowboy-90ae31998e8d0887b9efe4b441136ac047708bb9.tar.bz2
cowboy-90ae31998e8d0887b9efe4b441136ac047708bb9.zip
Update Cowlib to 1.2.0; adds Websocket permessage-deflate
The Websocket text frames should also be less resource intensive to validate now, with a binary concatenation avoided.
Diffstat (limited to 'test/ws_SUITE.erl')
-rw-r--r--test/ws_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ws_SUITE.erl b/test/ws_SUITE.erl
index e341e10..c47c293 100644
--- a/test/ws_SUITE.erl
+++ b/test/ws_SUITE.erl
@@ -41,7 +41,9 @@ init_per_group(Name = autobahn, Config) ->
{skip, "Autobahn Test Suite not installed."};
_ ->
{ok, _} = cowboy:start_http(Name, 100, [{port, 33080}], [
- {env, [{dispatch, init_dispatch()}]}]),
+ {env, [{dispatch, init_dispatch()}]},
+ {compress, true}
+ ]),
Config
end;
init_per_group(Name = ws, Config) ->