Mon, 13 Dec 2021 21:48:29 +0100 mod_smacks: Back out 48f8fa6cea7b - back in a86ae74da96c again
Kim Alvefur <zash@zash.se> [Mon, 13 Dec 2021 21:48:29 +0100] rev 12049
mod_smacks: Back out 48f8fa6cea7b - back in a86ae74da96c again Maybe it works now with the session patching in the previous commit
Mon, 13 Dec 2021 21:46:49 +0100 mod_smacks: Patch various self-references on the resumed session
Kim Alvefur <zash@zash.se> [Mon, 13 Dec 2021 21:46:49 +0100] rev 12048
mod_smacks: Patch various self-references on the resumed session The number of places where the session is an upvalue to its own methods is too high!
Mon, 13 Dec 2021 21:17:54 +0100 mod_smacks: Back out a86ae74da96c: Fixed one problem, caused another
Kim Alvefur <zash@zash.se> [Mon, 13 Dec 2021 21:17:54 +0100] rev 12047
mod_smacks: Back out a86ae74da96c: Fixed one problem, caused another As per a86ae74da96c the 'session' object here is the wrong session, so the attempt to block stanzas from being added to the queue twice did not work causing something of a leak. Instead we have a leak of the previous session.
Mon, 13 Dec 2021 21:15:06 +0100 mod_smacks: Back out def20683c161
Kim Alvefur <zash@zash.se> [Mon, 13 Dec 2021 21:15:06 +0100] rev 12046
mod_smacks: Back out def20683c161 The attempted fix completely broke everything after resumption.
Mon, 13 Dec 2021 19:48:42 +0100 mod_smacks: Update reference to session from send()
Kim Alvefur <zash@zash.se> [Mon, 13 Dec 2021 19:48:42 +0100] rev 12045
mod_smacks: Update reference to session from send() a86ae74da96c caused the stanza queue to double on resumption because session.send() keeps a reference to the session which is what gets passed to filters, so the added flag was not seen in the filter.
Mon, 13 Dec 2021 16:38:33 +0100 util.format: Optimize most common integer format
Kim Alvefur <zash@zash.se> [Mon, 13 Dec 2021 16:38:33 +0100] rev 12044
util.format: Optimize most common integer format A search for log formats in use points to %s being the most common, followed by %d, so worth having a fast path for that. %g works well with most numbers and is what Lua 5.1 and 5.2 used
Mon, 13 Dec 2021 16:34:55 +0100 util.format: Ensure metatable __tostring results are also sanitized
Kim Alvefur <zash@zash.se> [Mon, 13 Dec 2021 16:34:55 +0100] rev 12043
util.format: Ensure metatable __tostring results are also sanitized
Sun, 12 Dec 2021 18:38:40 +0100 mod_smacks: Include reason for destroying session on hibernation timeout
Kim Alvefur <zash@zash.se> [Sun, 12 Dec 2021 18:38:40 +0100] rev 12042
mod_smacks: Include reason for destroying session on hibernation timeout To aid in debugging
Sat, 11 Dec 2021 20:58:09 +0100 tools/generate_format_spec: Apply lua-format to silence luacheck
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 20:58:09 +0100] rev 12041
tools/generate_format_spec: Apply lua-format to silence luacheck
Sat, 11 Dec 2021 20:54:37 +0100 util.format: Fix some formats expecting positive numbers in Lua 5.2
Kim Alvefur <zash@zash.se> [Sat, 11 Dec 2021 20:54:37 +0100] rev 12040
util.format: Fix some formats expecting positive numbers in Lua 5.2 Amazing how string.format behaves differently under each Lua version
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip