diff options
author | Kim Alvefur <zash@zash.se> | 2021-09-15 18:39:37 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-09-15 18:39:37 +0200 |
commit | c85afe78276404e70d85a4e20af3a569fea33ed0 (patch) | |
tree | 5e3349c1362de3e9ae968fc7da6d22cbc0c92f1b /util/events.lua | |
parent | 69600b88ebfb740626ff7ba8eb9f550f8c00a860 (diff) | |
download | prosody-c85afe78276404e70d85a4e20af3a569fea33ed0.tar.gz prosody-c85afe78276404e70d85a4e20af3a569fea33ed0.zip |
net.server_epoll: Don't immediately destroy upon getting closed on read
Instead try to write any remaining buffered data. If the write attempt
also fails with "closed" then there's nothing we can do and the socket
is gone.
This reverts what appears to be a mistakenly included part of c8aa66595072
Thanks jonas’ for noticing
Diffstat (limited to 'util/events.lua')
0 files changed, 0 insertions, 0 deletions