Kim Alvefur <zash@zash.se> [Sat, 18 Dec 2021 13:43:57 +0100] rev 12075
mod_c2s: Fire pre-closing event regardless of connected state
With mod_smacks, a session can outlive the connection, so whether the
event is fired should not hinge on whether the session is connected or
not.
Helps mod_smacks remove some state.
Kim Alvefur <zash@zash.se> [Sat, 18 Dec 2021 12:50:53 +0100] rev 12074
mod_smacks: Remove references to connection on hibernation
Still having the connection on the session may cause unintentional
behavior, such as the session being treated as if connected, even tho
the connection has been closed.
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).