Software /
code /
prosody
File
plugins/mod_unknown.lua @ 13095:1693bd4de283
core.sessionmanager: Delay closing a replaced connection after replacement
Closing the session invokes ondisconnect and session close logic,
including mod_smacks hibernation and the timer that destroys the session
after a timeout.
By closing the connection after it has been detached from the sessions
table it will no longer invoke the ondetach handler, which should
prevent the above problem.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 07 May 2023 12:27:55 +0200 |
parent | 6003:28a90f5fea46 |
line wrap: on
line source
-- Unknown platform stub module:set_global(); -- TODO Do things that make sense if we don't know about the platform