diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-06 10:59:14 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-06 10:59:14 +0100 |
commit | 05a9010c859b4d3caa4775d5a78fb1e287385617 (patch) | |
tree | f2055b4116a793c5888958132dfe026f3dc83d43 /util/sql.lua | |
parent | 2807299fba66bf468dd5c534c63081f9b6ac4ce2 (diff) | |
download | prosody-05a9010c859b4d3caa4775d5a78fb1e287385617.tar.gz prosody-05a9010c859b4d3caa4775d5a78fb1e287385617.zip |
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
Diffstat (limited to 'util/sql.lua')
0 files changed, 0 insertions, 0 deletions