diff options
author | Loïc Hoguin <[email protected]> | 2016-08-12 16:56:08 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2016-08-12 16:56:08 +0200 |
commit | 97986df27606bbc89db59fb2fe59b1b9aec630e2 (patch) | |
tree | 25aaeb709e3279ac9d2b0aa95564dc4cfb0e914b /test/ws_SUITE.erl | |
parent | 5cb2b544b7dcce296bdb956b14521fb036c26ed8 (diff) | |
download | cowboy-97986df27606bbc89db59fb2fe59b1b9aec630e2.tar.gz cowboy-97986df27606bbc89db59fb2fe59b1b9aec630e2.tar.bz2 cowboy-97986df27606bbc89db59fb2fe59b1b9aec630e2.zip |
Fix Websocket compression
The option for enabling Websocket compression has been
renamed. Previously it was shared with HTTP compression,
now it's specific to Websocket. The new option is named
'websocket_compress'.
Diffstat (limited to 'test/ws_SUITE.erl')
-rw-r--r-- | test/ws_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ws_SUITE.erl b/test/ws_SUITE.erl index 4eaf456..8968391 100644 --- a/test/ws_SUITE.erl +++ b/test/ws_SUITE.erl @@ -39,14 +39,14 @@ init_per_group(Name = autobahn, Config) -> _ -> {ok, _} = cowboy:start_clear(Name, 100, [{port, 33080}], #{ env => #{dispatch => init_dispatch()}, - compress => true %% @todo Use a separate option for HTTP and Websocket compression. + websocket_compress => true }), Config end; init_per_group(Name = ws, Config) -> cowboy_test:init_http(Name, #{ env => #{dispatch => init_dispatch()}, - compress => true %% @todo Use a separate option for HTTP and Websocket compression. + websocket_compress => true }, Config). end_per_group(Listener, _Config) -> |