Software / code / prosody
File
plugins/mod_unknown.lua @ 11738:3f1450ec37f4
net.server_epoll: Improve efficiency of opportunistic writes
Should prevent further opportunistic write attempts after the kernel
buffers are full and stops accepting writes.
When combined with `keep_buffers = false` it should stop it from
repeatedly recreating the buffer table and concatenating it back into a
string when there's a lot to write.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 14 Aug 2021 13:07:29 +0200 |
| parent | 6003:28a90f5fea46 |
line wrap: on
line source
-- Unknown platform stub module:set_global(); -- TODO Do things that make sense if we don't know about the platform