Software / code / prosody
File
teal-src/util/format.d.tl @ 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 | 11432:113f3912c7cb |
line wrap: on
line source
local record lib format : function (string, ... : any) : string end return lib