Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
9431:c3c0523a37c6 | 9432:2e3f66475cc8 |
---|---|
511 _server = server; | 511 _server = server; |
512 created = gettime(); | 512 created = gettime(); |
513 listeners = listeners; | 513 listeners = listeners; |
514 read_size = read_size or (server and server.read_size); | 514 read_size = read_size or (server and server.read_size); |
515 writebuffer = {}; | 515 writebuffer = {}; |
516 tls_ctx = tls_ctx; | 516 tls_ctx = tls_ctx or (server and server.tls_ctx); |
517 tls_direct = server and server.tls_direct; | |
517 }, interface_mt); | 518 }, interface_mt); |
518 | 519 |
519 conn:updatenames(); | 520 conn:updatenames(); |
520 return conn; | 521 return conn; |
521 end | 522 end |