aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s_bidi.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-01-21 18:42:38 +0100
committerKim Alvefur <zash@zash.se>2022-01-21 18:42:38 +0100
commit90215f635bf8fd031d3505d54a88aa0440bea29b (patch)
treef6405c8c9cf0e09a5af5d5b9bd83400c20efdf29 /plugins/mod_s2s_bidi.lua
parent268dfa38c09c78b0bdab2cb1e3590b1ffa3ad86e (diff)
downloadprosody-90215f635bf8fd031d3505d54a88aa0440bea29b.tar.gz
prosody-90215f635bf8fd031d3505d54a88aa0440bea29b.zip
mod_s2s: Retrieve TLS context for outgoing Direct TLS connections from mod_tls
So that the same TLS context is used for both Direct TLS and starttls, since they are supposed to be functionally identical apart from the few extra round trips. A new event is added because the 's2s-created' event fires much later, after a connection has already been established, where we need the TLS context before that.
Diffstat (limited to 'plugins/mod_s2s_bidi.lua')
0 files changed, 0 insertions, 0 deletions