Kim Alvefur <zash@zash.se> [Mon, 11 May 2020 21:29:24 +0200] rev 10839
Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Mon, 11 May 2020 21:14:02 +0200] rev 10838
mod_muc_mam: Remove spoofed archive IDs before archiving, fix #1552
The stanza-id added during archiving looks exactly like what should be
stripped, so the stripping must happen before archiving.
Getting priorities right is hard!
Also no test coverage yet.
Kim Alvefur <zash@zash.se> [Sun, 10 May 2020 23:12:33 +0200] rev 10837
mod_csi_simple: Report whatever's not a stirng and not a stanza
This is either dead code or actually a type error, but catching that
should be the responsibility of the session.send function. This type
check is left since everything after it assumes a stanza object.
These last few commits aren't meant to change any behavior and it did
mark things not stanzas as important, but those would have been mostly
raw strings which are now specially handled.
Kim Alvefur <zash@zash.se> [Sun, 10 May 2020 23:09:15 +0200] rev 10836
mod_csi_simple: Report whitespace keepalives
Single space character is sent by mod_c2s when a session has been
silent for some time. This should account for the vast majority of raw
strings passing through here. If this is not the case then having stats
to say otherwise will be interesting.
Kim Alvefur <zash@zash.se> [Sun, 10 May 2020 23:06:21 +0200] rev 10835
mod_csi_simple: Identify raw string data in logging and stats
Kim Alvefur <zash@zash.se> [Sat, 09 May 2020 17:47:03 +0200] rev 10834
mod_csi_simple: Collect stats on flush reasons
Kim Alvefur <zash@zash.se> [Sat, 09 May 2020 17:45:45 +0200] rev 10833
mod_csi_simple: Record stats of how long buffers are held
Telnet command `stats:show("buffer_hold"):histogram()` looks nice!
Kim Alvefur <zash@zash.se> [Sat, 09 May 2020 17:38:13 +0200] rev 10832
mod_csi_simple: Change debug message of client-triggered flush for coherence
It now matches other the other source of flush reason logging.
Kim Alvefur <zash@zash.se> [Sat, 09 May 2020 17:07:43 +0200] rev 10831
mod_csi_simple: Reset queue counter to zero when enabling
For symmetry.
Kim Alvefur <zash@zash.se> [Sat, 09 May 2020 17:05:46 +0200] rev 10830
mod_csi_simple: Forget queue counter when disabling optimizations
Otherwise it might not start from zero when enabled again.