mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util.adminstream: Prevent closure on read timeout
This commit is contained in:
parent
f480583839
commit
15227ecbc6
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ local function new_server(sessions, stanza_handler)
|
||||||
end
|
end
|
||||||
|
|
||||||
function listeners.onreadtimeout(conn)
|
function listeners.onreadtimeout(conn)
|
||||||
conn:send(" ");
|
return conn:send(" ");
|
||||||
end
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue