Kim Alvefur <zash@zash.se> [Sun, 28 Jun 2020 15:58:47 +0200] rev 10983
doap: Expand on XEPs implemented by mod_time
Kim Alvefur <zash@zash.se> [Sun, 28 Jun 2020 14:58:32 +0200] rev 10982
util.human.io: Add brief test of table generation
Matthew Wild <mwild1@gmail.com> [Sun, 28 Jun 2020 12:26:04 +0100] rev 10981
util.dbuffer: Don't use # operator in tests, Lua 5.1 doesn't support __len
Matthew Wild <mwild1@gmail.com> [Sun, 28 Jun 2020 12:02:10 +0100] rev 10980
net.dns: Disable jitter for default resolver (used by blocking dns.lookup() calls)
This fixes 'prosodyctl check dns' being slow.
Kim Alvefur <zash@zash.se> [Sun, 28 Jun 2020 02:15:25 +0200] rev 10979
util.dependencies: Quiet luacheck
Kim Alvefur <zash@zash.se> [Sat, 27 Jun 2020 14:25:57 +0200] rev 10978
util.dependencies: Tone down lua-unbound dependency for now
At least until packages are available
Wording from MattJ
Matthew Wild <mwild1@gmail.com> [Fri, 26 Jun 2020 16:41:31 +0100] rev 10977
util.dbuffer: dynamic string buffer
Similar to util.ringbuffer (and shares almost identical API). Differences:
- size limit is optional and dynamic
- does not allocate a fixed buffer of max_size bytes
- focus on simply storing references to existing string objects where possible,
avoiding unnecessary allocations
- references are still stored in a ring buffer to enable use as a fast FIFO
Optional second parameter to new() provides the number of ring buffer segments. On
Lua 5.2 on my laptop, a segment is ~19 bytes. If the ring buffer fills up, the next
write will compact all strings into a single item.
Kim Alvefur <zash@zash.se> [Thu, 25 Jun 2020 20:45:06 +0200] rev 10976
util.dns: Update RR types from IANA registry
Kim Alvefur <zash@zash.se> [Thu, 25 Jun 2020 19:28:51 +0200] rev 10975
util.prosodyctl.check: Use net.unbound for DNS if available
Improves performance somewhat by avoiding the rate limiting in net.dns
Kim Alvefur <zash@zash.se> [Thu, 25 Jun 2020 19:24:58 +0200] rev 10974
net.resolvers: Remove FIXMEs obsoleted by switch to libunbound