mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
parent
d0b65a3c95
commit
1d239ec6fb
@ -188,11 +188,13 @@
|
|||||||
%% Listener interface
|
%% Listener interface
|
||||||
%% -----------------------------
|
%% -----------------------------
|
||||||
|
|
||||||
start(gen_tcp = _SockMod, Socket, Opts) ->
|
start(SockMod, Socket, Opts) ->
|
||||||
ejabberd_http:start(gen_tcp, Socket, [{xmlrpc, true}|Opts]).
|
Opts1 = [{request_handlers, [{[], ?MODULE}]}|Opts],
|
||||||
|
ejabberd_http:start(SockMod, Socket, Opts1).
|
||||||
|
|
||||||
start_link(gen_tcp = _SockMod, Socket, Opts) ->
|
start_link(SockMod, Socket, Opts) ->
|
||||||
ejabberd_http:start_link(gen_tcp, Socket, [{xmlrpc, true}|Opts]).
|
Opts1 = [{request_handlers, [{[], ?MODULE}]}|Opts],
|
||||||
|
ejabberd_http:start_link(SockMod, Socket, Opts1).
|
||||||
|
|
||||||
accept(Pid) ->
|
accept(Pid) ->
|
||||||
ejabberd_http:accept(Pid).
|
ejabberd_http:accept(Pid).
|
||||||
|
Loading…
Reference in New Issue
Block a user