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 | a575159cb0172220dd3657ed8a3eff5ca22d9532 (patch) | |
tree | b64aea33b44204aa6fbab98e605e4fcee6bcb8a6 | |
parent | 109ee6261982614ea367de4b2716b0ea6f375168 (diff) | |
download | prosody-a575159cb0172220dd3657ed8a3eff5ca22d9532.tar.gz prosody-a575159cb0172220dd3657ed8a3eff5ca22d9532.zip |
net.server_epoll: Call onconnect right after accept()ing a new client
-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 |