mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Log TLS status for outgoing s2s with SASL EXTERNAL
This commit is contained in:
parent
3a3f8240c1
commit
f988aad940
@ -570,8 +570,10 @@ wait_for_features({xmlstreamelement, El}, StateData) ->
|
|||||||
if not SASLEXT and not StartTLS and
|
if not SASLEXT and not StartTLS and
|
||||||
StateData#state.authenticated ->
|
StateData#state.authenticated ->
|
||||||
send_queue(StateData, StateData#state.queue),
|
send_queue(StateData, StateData#state.queue),
|
||||||
?INFO_MSG("Connection established: ~s -> ~s",
|
?INFO_MSG("Connection established: ~s -> ~s with "
|
||||||
[StateData#state.myname, StateData#state.server]),
|
"SASL EXTERNAL and TLS=~p",
|
||||||
|
[StateData#state.myname, StateData#state.server,
|
||||||
|
StateData#state.tls_enabled]),
|
||||||
ejabberd_hooks:run(s2s_connect_hook,
|
ejabberd_hooks:run(s2s_connect_hook,
|
||||||
[StateData#state.myname,
|
[StateData#state.myname,
|
||||||
StateData#state.server]),
|
StateData#state.server]),
|
||||||
|
Loading…
Reference in New Issue
Block a user