diff options
author | Kim Alvefur <zash@zash.se> | 2020-06-18 17:54:28 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-06-18 17:54:28 +0200 |
commit | 15227ecbc62d26707f37cbb82f5ee7c0f845442a (patch) | |
tree | 5fc96d8903fb9f96fcdbe6eac35536aff4b9479e /util/adminstream.lua | |
parent | f4805838390ce2f2127e70fac6f18d0ef7867c7d (diff) | |
download | prosody-15227ecbc62d26707f37cbb82f5ee7c0f845442a.tar.gz prosody-15227ecbc62d26707f37cbb82f5ee7c0f845442a.zip |
util.adminstream: Prevent closure on read timeout
Diffstat (limited to 'util/adminstream.lua')
-rw-r--r-- | util/adminstream.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/adminstream.lua b/util/adminstream.lua index 782a6b0f..5b592e76 100644 --- a/util/adminstream.lua +++ b/util/adminstream.lua @@ -249,7 +249,7 @@ local function new_server(sessions, stanza_handler) end function listeners.onreadtimeout(conn) - conn:send(" "); + return conn:send(" "); end return { |