diff options
author | Kim Alvefur <zash@zash.se> | 2022-05-15 22:41:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-05-15 22:41:17 +0200 |
commit | d33b858436ddfce5a3364ee35debb7988e6dda0c (patch) | |
tree | 4fbd239b389e13c60456e724657c50cfeb9b9e87 /util-src/time.c | |
parent | 3b6565c77ba7bb4107bc00d1004bf8db6eaa1fe4 (diff) | |
download | prosody-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 'util-src/time.c')
0 files changed, 0 insertions, 0 deletions