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 | 72c9c5dae88617d7d08f3b3122a06a3239ba419b (patch) | |
tree | 5fc96d8903fb9f96fcdbe6eac35536aff4b9479e /util/adminstream.lua | |
parent | 2a5e57cf2775989d97c797e18bf5eef511a8353a (diff) | |
download | prosody-72c9c5dae88617d7d08f3b3122a06a3239ba419b.tar.gz prosody-72c9c5dae88617d7d08f3b3122a06a3239ba419b.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 { |