Kim Alvefur <zash@zash.se> [Sat, 18 Dec 2021 12:50:09 +0100] rev 12073
mod_smacks: Add more logging
Kim Alvefur <zash@zash.se> [Fri, 17 Dec 2021 17:22:27 +0100] rev 12072
mod_smacks: Remove useless delay in requesting ack on resumption
Was this the last place using the delay? Nice!
Kim Alvefur <zash@zash.se> [Fri, 17 Dec 2021 17:20:26 +0100] rev 12071
mod_smacks: Fix to not wait for acks from before a resumption
Otherwise it can get stuck waiting indefinitely for an ack that made it
notice the connection was stale.
Kim Alvefur <zash@zash.se> [Fri, 17 Dec 2021 16:29:17 +0100] rev 12070
mod_smacks: Split log messages for when an old session exists in storage
Non-existent did not seem entirely accurate for this case
Kim Alvefur <zash@zash.se> [Fri, 17 Dec 2021 16:21:26 +0100] rev 12069
mod_smacks: Bounce unacked stanzas on shutdown
Kim Alvefur <zash@zash.se> [Fri, 17 Dec 2021 16:00:08 +0100] rev 12068
mod_smacks: Preserve counter values on shutdown
Kim Alvefur <zash@zash.se> [Fri, 17 Dec 2021 15:59:06 +0100] rev 12067
mod_smacks: Simplify access to local user sessions
Less to type if per chance the next commit also wants to access
sessions.
Kim Alvefur <zash@zash.se> [Thu, 16 Dec 2021 23:04:50 +0100] rev 12066
mod_smacks: Cancel hibernation when session is closed
To ensure that if a session is replaced after it has gone into
hibernation, it does not come back and cause trouble for the new session
(see previous commit).
Kim Alvefur <zash@zash.se> [Thu, 16 Dec 2021 22:59:51 +0100] rev 12065
mod_smacks: Skip hibernation logic if session was closed or replaced
The resumption_token is removed when the session is closed via the
pre-session-close event, signaling that it cannot be resumed, and
therefore no hibernation timeout logic should be invoked.
Fixes that if a session somehow is replaced by a new one using the same
resource (which is the common behavior), the old session would still be
around until it times out at which point it sends `<presence
type="unavailable"/>` which would look as if it came from the new
session, ie appearing offline to everyone including MUCs.
Kim Alvefur <zash@zash.se> [Thu, 16 Dec 2021 22:42:08 +0100] rev 12064
mod_smacks: Fix indentation
Meld keeps messing up indentation when I merge and rebase...