diff options
author | Kim Alvefur <zash@zash.se> | 2021-07-08 17:52:59 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-07-08 17:52:59 +0200 |
commit | 852e44959d04b56cbf3c761b1ab5e0547ae05cc7 (patch) | |
tree | b73eac8c0c1e42ce2ade269919d5d9c5537df92f /doc | |
parent | 532fbe06878da9f0b10816be662f6aa7463b8f84 (diff) | |
download | prosody-852e44959d04b56cbf3c761b1ab5e0547ae05cc7.tar.gz prosody-852e44959d04b56cbf3c761b1ab5e0547ae05cc7.zip |
net.server_epoll: Separate handling of new incoming and outgoing connections
The :init method is more suited for new outgoing connections, which is
why it uses the connect_timeout setting.
Depending on whether a newly accepted connection is to a Direct TLS port
or not, it should be handled differently, and was already. The :starttls
method sets up timeouts on its own, so the one set in :init was not needed.
Newly accepted plain TCP connections don't need a write timeout set, a
read timeout is enough.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions