Software /
code /
prosody
File
teal-src/util/jid.d.tl @ 11936:3f49c35607ca
mod_smacks: Fix timer lifetimes to follow session instead of module
module:add_timer() creates a timer that stops working after the module
is reloaded or unloaded, in order to prevent leaks. However, when the
timers control vital session behavior, breakage occurs after reload.
E.g. sessions would stop requesting acks and stop responding to acks.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 24 Nov 2021 21:27:45 +0100 |
parent | 11432:113f3912c7cb |
line wrap: on
line source
local record lib split : function (string) : string, string, string bare : function (string) : string prepped_split : function (string, boolean) : string, string, string join : function (string, string, string) : string prep : function (string, boolean) : string compare : function (string, string) : boolean node : function (string) : string host : function (string) : string resource : function (string) : string escape : function (string) : string unescape : function (string) : string end return lib