Matthew Wild <mwild1@gmail.com> [Mon, 20 Feb 2023 18:10:15 +0000] rev 12898
mod_websocket: Fire pre-session-close event (fixes #1800)
This event was added in a7c183bb4e64 and is required to make mod_smacks know
that a session was intentionally closed and shouldn't be hibernated (see
fcea4d9e7502).
Because this was missing from mod_websocket's session.close(), mod_smacks
would always attempt to hibernate websocket sessions even if they closed
cleanly.
That mod_websocket has its own copy of session.close() is something to fix
another day (probably not in the stable branch). So for now this commit makes
the minimal change to get things working again.
Thanks to Damian and the Jitsi team for reporting.
Kim Alvefur <zash@zash.se> [Mon, 20 Feb 2023 18:16:12 +0100] rev 12897
MUC: Add Occupant API methods to Teal spec
Kim Alvefur <zash@zash.se> [Mon, 20 Feb 2023 15:11:29 +0100] rev 12896
MUC: Add Teal description of muc.lib functions
Kim Alvefur <zash@zash.se> [Mon, 20 Feb 2023 15:08:06 +0100] rev 12895
MUC: Start on a Teal description of MUC rooms
Started as part of a documentation project for the MUC API
Matthew Wild <mwild1@gmail.com> [Fri, 17 Feb 2023 17:02:41 +0000] rev 12894
Merge 0.12->trunk
Matthew Wild <mwild1@gmail.com> [Fri, 17 Feb 2023 17:01:19 +0000] rev 12893
net.http.parser: Fix off-by-one error in chunk parser
Kim Alvefur <zash@zash.se> [Thu, 16 Feb 2023 20:15:39 +0100] rev 12892
Merge 0.12->trunk
Kim Alvefur <zash@zash.se> [Thu, 16 Feb 2023 17:20:09 +0100] rev 12891
mod_admin_socket: Return error on unhandled input to prevent apparent freeze
When mod_admin_socket is loaded without mod_admin_shell, attempt to use
`prosodyctl shell` will appear to freeze after any input, since no
response is returned.
Matthew Wild <mwild1@gmail.com> [Thu, 16 Feb 2023 16:00:07 +0000] rev 12890
Merge 0.12->trunk
Matthew Wild <mwild1@gmail.com> [Thu, 16 Feb 2023 15:59:26 +0000] rev 12889
net.http.server: Add new API to get HTTP request from a connection
This information is sometimes necessary in the context where we have a
connection that we know (or believe to be) associated with an incoming HTTP
request.
For example, it can be used to retrieve the IP address of a request (which may
differ from the IP address of the connection, due to X-Forwarded-For and co).
Thanks to the Jitsi team for highlighting this gap in the API.