mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-28 17:38:54 +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]),
|
||||
|
||||
?INFO_MSG("started: ~p", [{SockMod1, Socket1}]),
|
||||
{ok, proc_lib:spawn_link(ejabberd_http,
|
||||
receive_headers,
|
||||
[#state{sockmod = SockMod1,
|
||||
socket = Socket1,
|
||||
request_handlers = RequestHandlers}])}.
|
||||
State = #state{sockmod = SockMod1,
|
||||
socket = Socket1,
|
||||
request_handlers = RequestHandlers},
|
||||
receive_headers(State).
|
||||
|
||||
|
||||
become_controller(_Pid) ->
|
||||
|
Loading…
Reference in New Issue
Block a user