aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_websocket.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-08 17:52:59 +0200
committerKim Alvefur <zash@zash.se>2021-07-08 17:52:59 +0200
commit852e44959d04b56cbf3c761b1ab5e0547ae05cc7 (patch)
treeb73eac8c0c1e42ce2ade269919d5d9c5537df92f /plugins/mod_websocket.lua
parent532fbe06878da9f0b10816be662f6aa7463b8f84 (diff)
downloadprosody-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 'plugins/mod_websocket.lua')
0 files changed, 0 insertions, 0 deletions