From 97986df27606bbc89db59fb2fe59b1b9aec630e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 12 Aug 2016 16:56:08 +0200 Subject: 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'. --- test/ws_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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) -> -- cgit v1.2.3