util.adminstream: Prevent closure on read timeout

This commit is contained in:
Kim Alvefur 2020-06-18 17:54:28 +02:00
parent 2a5e57cf27
commit 72c9c5dae8

View file

@ -249,7 +249,7 @@ local function new_server(sessions, stanza_handler)
end
function listeners.onreadtimeout(conn)
conn:send(" ");
return conn:send(" ");
end
return {