mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Fix s2s test
This commit is contained in:
parent
c5e7b4738f
commit
e57de02e0f
@ -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
|
||||||
|
@ -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) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user