Kim Alvefur <zash@zash.se> [Sat, 28 Dec 2019 06:18:58 +0100] rev 10575
net.server_epoll: Avoid concatenating buffer with single item
Saves creating a string that'll be identical to buffer[1] anyways, as
well as a C function call. Depending on Lua version and length of the
string, this could be reusing an interned string, but a longer one would
probably be duplicated for no reason.
Having exactly one item in the buffer seems like it would be fairly
common, but I have not done an extensive study. If opportunistic writes
are enabled then it will be even more likely.
This special case could be optimized like this in table.concat but it
does not look like it is.
Matthew Wild <mwild1@gmail.com> [Tue, 24 Dec 2019 08:42:53 +0000] rev 10574
Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Sun, 16 Dec 2018 02:56:11 +0100] rev 10573
core.rostermanager: Cache rosters of offline users for faster access (fixes #1233)
(grafted from 42a3e3a2824822cef7640ac56d182c59bdd4224e)
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 01:21:58 +0100] rev 10572
Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 01:01:05 +0100] rev 10571
mod_mam: Fix rebase mistake [luacheck]
The 'err' was there in trunk
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 01:00:35 +0100] rev 10570
mod_muc_mam: Fix rebase mistake [luacheck]
The 'err' was there in trunk
Kim Alvefur <zash@zash.se> [Fri, 20 Dec 2019 22:47:34 +0100] rev 10569
mod_adhoc: Improve permission setting (fix #1482) BC
Rename 'user' permission mode to 'any' for clarity, too easily mistaken
for what the 'local_user' setting does.
It is also removed as a default and made a required argument.
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 00:49:43 +0100] rev 10568
mod_storage_sql: Remove unused and not actually returned return value [luacheck]
The :delete throws an error, it does not return one like this.
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 00:39:45 +0100] rev 10567
Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Tue, 24 Dec 2019 00:26:40 +0100] rev 10566
mod_muc_mam: Schedule cleanup again on failure