diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-13 14:20:24 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-13 14:20:24 +0200 |
commit | 9615fcca979a796bf9f7b7ba2ba6d1381806e454 (patch) | |
tree | f1499c955139cf277ed61944d5df2abd582416b2 /plugins/mod_posix.lua | |
parent | b313c33a8ea13fd6ccde8c94c254173d87c9f9c4 (diff) | |
download | prosody-9615fcca979a796bf9f7b7ba2ba6d1381806e454.tar.gz prosody-9615fcca979a796bf9f7b7ba2ba6d1381806e454.zip |
net.server_epoll: Factor out TLS initialization into a method
So there's :startls(), :inittls() and :tlshandshake()
:starttls() prepares for plain -> TLS upgrade and ensures that the
(unencrypted) write buffer is drained before proceeding.
:inittls() wraps the connection and does things like SNI, DANE etc.
:tlshandshake() steps the TLS negotiation forward until it completes
Diffstat (limited to 'plugins/mod_posix.lua')
0 files changed, 0 insertions, 0 deletions