Software /
code /
prosody
Diff
net/http/files.lua @ 12011:9dc36fdbdba1
net.server_epoll: Ensure calls to :write() return something
With opportunistic writes enabled, writes can return what :onwritable()
returns, thus :onwritable() should return something sensible at each
spot.
Should prevent whatever caused
> Error writing to connection: (nil)
Tho this was probably harmless
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 06 Dec 2021 10:59:14 +0100 |
parent | 11658:36942fa001b4 |
child | 12974:ba409c67353b |
child | 13445:360e05f33835 |