Kim Alvefur <zash@zash.se> [Sun, 08 Jan 2023 13:35:04 +0100] rev 12835
net.http.server: Fix #1789
Unregistering the response before sending the trailer of the chunked
transfer encoding prevents opportunistic writes from being invoked and
running this code again when, which may cause an error when closing the
file handle a second time.
Normally the file size is known, so no chuck headers are sent.
Kim Alvefur <zash@zash.se> [Fri, 06 Jan 2023 23:53:50 +0100] rev 12834
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Sun, 01 Jan 2023 16:20:58 +0100] rev 12833
mod_storage_sql: Fix #1639
Patch by Peter Kieser
Kim Alvefur <zash@zash.se> [Fri, 06 Jan 2023 04:38:39 +0100] rev 12832
net.server_epoll: Remove delay on last main loop iteration when quitting
Main difference is that timers are not checked unconditionally before
each poll, only when running out of previous poll results (hidden by
util.poll). This removes a final poll at shutdown that usually delays
the 'not quitting' condition check by one second.
Kim Alvefur <zash@zash.se> [Fri, 06 Jan 2023 02:31:21 +0100] rev 12831
net.server_epoll: Factor out single main loop step into its own function
This isn't actually used in Prosody, so no value in complicating the
real main loop because of it
Kim Alvefur <zash@zash.se> [Thu, 29 Dec 2022 18:36:38 +0100] rev 12830
Merge 0.12->trunk
Matthew Wild <mwild1@gmail.com> [Thu, 29 Dec 2022 16:29:03 +0000] rev 12829
configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash)
Transplanted 6b43bf85032b from trunk
Kim Alvefur <zash@zash.se> [Thu, 29 Dec 2022 18:28:50 +0100] rev 12828
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Thu, 29 Dec 2022 18:06:35 +0100] rev 12827
mod_storage_sql: Don't avoid initialization under prosodyctl (fix #1787)
Fixes `prosodyctl adduser` etc.
Prior to d580e6a57cbb the line did nothing.
Sometimes storage in the prosodyctl context does cause weirdness, as it
is not in a host context, but rather a variant of global.
Matthew Wild <mwild1@gmail.com> [Thu, 29 Dec 2022 16:29:03 +0000] rev 12826
configure: Fix quoting of $LUA_SUFFIX (thanks shellcheck/Zash)