Thu, 20 Aug 2020 15:22:19 +0100 util.dbuffer: Fix traceback when :collapse() is called on empty buffer
Matthew Wild <mwild1@gmail.com> [Thu, 20 Aug 2020 15:22:19 +0100] rev 11032
util.dbuffer: Fix traceback when :collapse() is called on empty buffer
Sun, 16 Aug 2020 20:30:02 +0200 util.dataforms: Add more XEP-0211 media element test coverage
Kim Alvefur <zash@zash.se> [Sun, 16 Aug 2020 20:30:02 +0200] rev 11031
util.dataforms: Add more XEP-0211 media element test coverage
Sun, 16 Aug 2020 12:55:55 +0200 util.dataforms: Convert media element sizes to avoid error on Lua 5.3
Kim Alvefur <zash@zash.se> [Sun, 16 Aug 2020 12:55:55 +0200] rev 11030
util.dataforms: Convert media element sizes to avoid error on Lua 5.3 The stanza API does not accept number values and threw an error due to the height and width attributes of the media element (XEP-0221). This part had no test coverage previously, explaining why it was not discovered until now.
Thu, 13 Aug 2020 17:01:05 +0100 net.http.errors: Add new module for converting net.http errors to util.error objects
Matthew Wild <mwild1@gmail.com> [Thu, 13 Aug 2020 17:01:05 +0100] rev 11029
net.http.errors: Add new module for converting net.http errors to util.error objects
Sun, 02 Aug 2020 00:24:54 +0200 mod_net_multiplex: Set read size/mode to that of the target listener
Kim Alvefur <zash@zash.se> [Sun, 02 Aug 2020 00:24:54 +0200] rev 11028
mod_net_multiplex: Set read size/mode to that of the target listener Otherwise it would use the configured buffer size, or previously '*a'. Using the read size set by the listener seems more sensible.
Sun, 02 Aug 2020 00:22:57 +0200 mod_net_multiplex: Read no more than the max buffer size setting
Kim Alvefur <zash@zash.se> [Sun, 02 Aug 2020 00:22:57 +0200] rev 11027
mod_net_multiplex: Read no more than the max buffer size setting Otherwise the '*a' read mode applies, which under certain circumstances can read infinite amounts of data into memory.
Sat, 01 Aug 2020 18:41:30 +0200 mod_http: Add way to signal that a module supports streaming uploads
Kim Alvefur <zash@zash.se> [Sat, 01 Aug 2020 18:41:30 +0200] rev 11026
mod_http: Add way to signal that a module supports streaming uploads Fixes #726 API: module:provides("http", { streaming_uploads = true; route = { PUT = function (event) event.request.body_sink = io.tmpfile(); return true; end } })
Sat, 01 Aug 2020 18:41:23 +0200 net.http.parser: Allow specifying sink for large request bodies
Kim Alvefur <zash@zash.se> [Sat, 01 Aug 2020 18:41:23 +0200] rev 11025
net.http.parser: Allow specifying sink for large request bodies This enables uses such as saving uploaded files directly to a file on disk or streaming parsing of payloads. See #726
Sat, 01 Aug 2020 18:14:09 +0200 net.http.parser: Switch to util.dbuffer for buffering incoming data
Kim Alvefur <zash@zash.se> [Sat, 01 Aug 2020 18:14:09 +0200] rev 11024
net.http.parser: Switch to util.dbuffer for buffering incoming data This is primarily a step towards saving uploads directly to files, tho this should hopefully be more efficient than collapsing the entire buffer to a single string every now and then.
Sat, 08 Aug 2020 19:13:12 +0200 Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Sat, 08 Aug 2020 19:13:12 +0200] rev 11023
Merge 0.11->trunk
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip