aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_ip_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-05-15 22:41:17 +0200
committerKim Alvefur <zash@zash.se>2022-05-15 22:41:17 +0200
commitd33b858436ddfce5a3364ee35debb7988e6dda0c (patch)
tree4fbd239b389e13c60456e724657c50cfeb9b9e87 /spec/util_ip_spec.lua
parent3b6565c77ba7bb4107bc00d1004bf8db6eaa1fe4 (diff)
downloadprosody-d33b858436ddfce5a3364ee35debb7988e6dda0c.tar.gz
prosody-d33b858436ddfce5a3364ee35debb7988e6dda0c.zip
net.server_epoll: Add option to defer accept() until data available
This is a Linux(?) socket option that delays the accept signal until there is data available to read. E.g. with HTTP this might mean that a whole request can be handled without going back trough another turn of the main loop, and an initial client <stream> can be responded to. This may have effects on latency and resource use, as the server does not need to allocate resources until really needed.
Diffstat (limited to 'spec/util_ip_spec.lua')
0 files changed, 0 insertions, 0 deletions