mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Apply a forgotten part of the original patch (EJAB-1119)
SVN Revision: 2793
This commit is contained in:
parent
21a36819b0
commit
929022bc0f
@ -139,11 +139,10 @@ init({SockMod, Socket}, Opts) ->
|
|||||||
?DEBUG("S: ~p~n", [RequestHandlers]),
|
?DEBUG("S: ~p~n", [RequestHandlers]),
|
||||||
|
|
||||||
?INFO_MSG("started: ~p", [{SockMod1, Socket1}]),
|
?INFO_MSG("started: ~p", [{SockMod1, Socket1}]),
|
||||||
{ok, proc_lib:spawn_link(ejabberd_http,
|
State = #state{sockmod = SockMod1,
|
||||||
receive_headers,
|
|
||||||
[#state{sockmod = SockMod1,
|
|
||||||
socket = Socket1,
|
socket = Socket1,
|
||||||
request_handlers = RequestHandlers}])}.
|
request_handlers = RequestHandlers},
|
||||||
|
receive_headers(State).
|
||||||
|
|
||||||
|
|
||||||
become_controller(_Pid) ->
|
become_controller(_Pid) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user