24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

Fix s2s test

This commit is contained in:
Paweł Chmielowski 2016-11-21 12:06:45 +01:00
parent c5e7b4738f
commit e57de02e0f
2 changed files with 4 additions and 1 deletions

View File

@ -456,6 +456,7 @@ route_subdomains: s2s
domain_certfile: CERTFILE domain_certfile: CERTFILE
s2s_use_starttls: false s2s_use_starttls: false
s2s_cafile: CAFILE s2s_cafile: CAFILE
outgoing_s2s_port: @@s2s_port@@
shaper: shaper:
fast: 50000 fast: 50000
normal: 10000 normal: 10000

View File

@ -142,7 +142,9 @@ process_config_tpl(Content, [{Name, DefaultValue} | Rest]) ->
V3 -> V3 ->
V3 V3
end, end,
NewContent = binary:replace(Content, <<"@@",(atom_to_binary(Name, latin1))/binary, "@@">>, Val), NewContent = binary:replace(Content,
<<"@@",(atom_to_binary(Name,latin1))/binary, "@@">>,
Val, [global]),
process_config_tpl(NewContent, Rest). process_config_tpl(NewContent, Rest).
stream_header(Config) -> stream_header(Config) ->