Software / code / prosody
File
teal-src/util/table.d.tl @ 12207:65e252940337
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.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 21 Jan 2022 18:42:38 +0100 |
| parent | 11459:86904555bffc |
| child | 12618:17cc122cc2e8 |
line wrap: on
line source
local record lib create : function (narr:integer, nrec:integer):table pack : function (...:any):{any} end return lib