diff options
author | Kim Alvefur <zash@zash.se> | 2018-12-08 21:17:39 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-12-08 21:17:39 +0100 |
commit | 726a7996dd944551c5a4007872ae06dd7f3facae (patch) | |
tree | b64aea33b44204aa6fbab98e605e4fcee6bcb8a6 /net | |
parent | 5e2c950296e59fc524cbe9a943d8b2b3b85ca22a (diff) | |
download | prosody-726a7996dd944551c5a4007872ae06dd7f3facae.tar.gz prosody-726a7996dd944551c5a4007872ae06dd7f3facae.zip |
net.server_epoll: Call onconnect right after accept()ing a new client
Diffstat (limited to 'net')
-rw-r--r-- | net/server_epoll.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index 13c8315a..3088b55b 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -577,6 +577,8 @@ function interface:onacceptable() client:init(); if self.tls_direct then client:starttls(self.tls_ctx); + else + client:onconnect(); end end |