Software /
code /
prosody
Diff
net/server_epoll.lua @ 9432:2e3f66475cc8
net.server_epoll: Inherit Direct TLS flag from servers to their clients
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 14 Sep 2018 01:31:58 +0200 |
parent | 9431:c3c0523a37c6 |
child | 9438:916bee81eb7e |
line wrap: on
line diff
--- a/net/server_epoll.lua Fri Sep 14 01:31:26 2018 +0200 +++ b/net/server_epoll.lua Fri Sep 14 01:31:58 2018 +0200 @@ -513,7 +513,8 @@ listeners = listeners; read_size = read_size or (server and server.read_size); writebuffer = {}; - tls_ctx = tls_ctx; + tls_ctx = tls_ctx or (server and server.tls_ctx); + tls_direct = server and server.tls_direct; }, interface_mt); conn:updatenames();