aboutsummaryrefslogtreecommitdiffstats
path: root/.busted
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-07-08 17:57:44 +0200
committerKim Alvefur <zash@zash.se>2021-07-08 17:57:44 +0200
commitb40b79873c9fd79c5fa0bfc1533619a384b26e83 (patch)
tree2ae675766eb80edea96a00324380f835a8170f97 /.busted
parent852e44959d04b56cbf3c761b1ab5e0547ae05cc7 (diff)
downloadprosody-b40b79873c9fd79c5fa0bfc1533619a384b26e83.tar.gz
prosody-b40b79873c9fd79c5fa0bfc1533619a384b26e83.zip
net.server_epoll: Immediately attempt to read from newly accepted connections
This may speed up client-first protocols (e.g. XMPP, HTTP and TLS) when the first client data already arrived by the time we accept() it. If LuaSocket supported TCP_DEFER_ACCEPT we could use that to further increase the chance that there's already data to handle. In case no data has arrived, no harm should be done, :onreadable would simply set the read timeout and we'll get back to it once there is something to handle.
Diffstat (limited to '.busted')
0 files changed, 0 insertions, 0 deletions