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