25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

Merge remote-tracking branch 'processone/pr/1261'

* processone/pr/1261:
  Fixed #1260 Stream Management feature for the websocket connections
This commit is contained in:
Holger Weiss 2016-08-22 21:22:08 +02:00
commit 1bfa1c613b

View File

@ -112,7 +112,7 @@ socket_handoff(LocalPath, Request, Socket, SockMod, Buf, Opts) ->
%%% Internal
init([{#ws{ip = IP, http_opts = HOpts}, _} = WS]) ->
SOpts = lists:filtermap(fun({stream_managment, _}) -> true;
SOpts = lists:filtermap(fun({stream_management, _}) -> true;
({max_ack_queue, _}) -> true;
({resume_timeout, _}) -> true;
({max_resume_timeout, _}) -> true;