25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix unix socket support for ejabberd_http (thanks to Simon Lipp)(#3894)

This commit is contained in:
Badlop 2022-09-06 13:22:27 +02:00
parent 9a3ba9d76f
commit 42e384beb7

View File

@ -222,6 +222,8 @@ encode_base64(Data) ->
ip_to_list({local, _}) ->
<<"unix">>;
ip_to_list(local) ->
<<"unix">>;
ip_to_list({IP, _Port}) ->
ip_to_list(IP);
%% This function clause could use inet_parse too: