0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

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.
This commit is contained in:
Loïc Hoguin 2015-03-06 01:56:30 +01:00
parent d2205d9ea6
commit 90ae31998e
4 changed files with 84 additions and 91 deletions

View file

@ -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) ->