Kim Alvefur <zash@zash.se> [Sat, 06 Mar 2021 15:24:45 +0100] rev 11430
util.rsm: Improve readability using compacter stanza building API
At least I think :text_tag improves readability.
Kim Alvefur <zash@zash.se> [Fri, 05 Mar 2021 15:05:21 +0100] rev 11429
mod_csi_simple: s/algoritm/algorithm/ [codespell]
Kim Alvefur <zash@zash.se> [Fri, 05 Mar 2021 15:04:45 +0100] rev 11428
core.storagemanager: s/Multilpe/Multiple/ [codespell]
Kim Alvefur <zash@zash.se> [Fri, 05 Mar 2021 13:02:37 +0100] rev 11427
util.prosodyctl.shell: Allow passing a single command as argument
Test procedure:
$ prosodyctl shell 'server:version()'
Expect:
> OK: hg:926d53af9a7a
$ prosodyctl shell 'server:version()' 'hello'
Expect:
> Only one command is supported as argument
$ prosodyctl shell 'lorem ipsum'; echo $?
Expect:
> Sorry, I couldn't understand that... console:1: syntax error near 'show'
> 1 (error code)
Thanks Menel for mentioning the feature
Kim Alvefur <zash@zash.se> [Fri, 05 Mar 2021 12:39:49 +0100] rev 11426
util.prosodyctl.shell: Fix check for --quiet
Looked in the wrong table
Test procedure:
$ prosodyctl shell --quiet
Expect:
Prosody>
(No banner)
Kim Alvefur <zash@zash.se> [Wed, 03 Mar 2021 20:48:54 +0100] rev 11425
net.resolvers.basic: Disable DANE for now, completely broken
Turns out 'extra' is, at least for mod_s2s, the same table for *all*
connections.
Kim Alvefur <zash@zash.se> [Wed, 03 Mar 2021 18:42:54 +0100] rev 11424
net.resolvers.basic: Don't enable DANE with zero TLSA records
Turns out it doesn't work with zero.
Kim Alvefur <zash@zash.se> [Wed, 03 Mar 2021 13:34:00 +0100] rev 11423
mod_s2s: Buffer stream error + stream closing tag
In "opportunistic writes" mode, prevents ondisconnect from happening
while writing the stream closing tag.
Kim Alvefur <zash@zash.se> [Wed, 03 Mar 2021 13:30:19 +0100] rev 11422
core.s2smanager: Set "direction" on destroyed sessions (fixes #1641)
Should prevent errors in certain places where it logs
session.direction captialized using gsub.
Might cause bugs tho, but then the session is destroyed so maybe it
doesn't matter?
Kim Alvefur <zash@zash.se> [Wed, 03 Mar 2021 13:26:38 +0100] rev 11421
mod_s2s: Check direction in bidi-aware style
Both session.incoming and session.outgoing are truthy here, but
session.direction indicates the "real" direction in the way that matters
for the order of events when opening or closing streams.