]> granicus.if.org Git - ejabberd/commitdiff
Fixed #1260 Stream Management feature for the websocket connections
authorIgor Manturov Jr <igor.manturov.jr@gmail.com>
Mon, 22 Aug 2016 18:59:39 +0000 (00:59 +0600)
committerGitHub <noreply@github.com>
Mon, 22 Aug 2016 18:59:39 +0000 (00:59 +0600)
src/ejabberd_http_ws.erl

index e66cf33a5c0d23a1f6530b97372e634f6555b8ba..24554a8cc5e4fa095e55de67169dbf3dac4a4550 100644 (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;