Kim Alvefur <zash@zash.se> [Tue, 02 Mar 2021 21:47:09 +0100] rev 11416
core.portmanager: Log SNI hosts, services looked for
To highlight how many these are
Kim Alvefur <zash@zash.se> [Tue, 02 Mar 2021 13:52:19 +0100] rev 11415
MUC: Add robot face test
See 6e051bfca12d
Kim Alvefur <zash@zash.se> [Sat, 27 Feb 2021 21:37:56 +0100] rev 11414
mod_http: Consolidate handling of proxied connection details
Trying to move everything relating to proxies and X-Forwarded-Foo into a
single place.
Kim Alvefur <zash@zash.se> [Sat, 27 Feb 2021 21:37:16 +0100] rev 11413
net.http.server: Set request.ip so mod_http doesn't have to
Because it already sets request.secure, which depends on the connection,
just like the IP, so it makes sense to do both in the same place.
Dealing with proxies can be left to mod_http for now, but maybe it could
move into some util some day?
Kim Alvefur <zash@zash.se> [Sat, 27 Feb 2021 21:07:36 +0100] rev 11412
Merge 0.11->trunk
Kim Alvefur <zash@zash.se> [Sat, 27 Feb 2021 20:45:45 +0100] rev 11411
mod_http: Restore ip field for requests without proxies
8603011e51fe optimized out more than just the loop, leaving the .ip
field blank when the request wasn't from a proxy.
Kim Alvefur <zash@zash.se> [Fri, 26 Feb 2021 00:20:24 +0100] rev 11410
mod_http_file_share: Skip removal of nothing
In case none of the expired files could be deleted then it's a waste of
an API call to try to remove any of the metadata at all.
Kim Alvefur <zash@zash.se> [Thu, 25 Feb 2021 23:58:08 +0100] rev 11409
mod_http_file_share: Remove correct entries when not all expired files were deleted
If any of the expired files could not be deleted then we should not
forget about that, we should complain loudly and try again.
The code got this backwards and would have removed only the entries
referring to still existing files.
Test procedure:
1. Upload a file
2. chown root:root http_file_share/
3. In uploads.list, decrease 'when' enough to ensure expiry
4. Reload mod_http_file_share
5. Should see an error in the logs about failure to delete the file
6. Should see that the metadata in uploads.list is still there
7. chown http_file_share/ back to the previous owner
8. Reload mod_http_file_share
9. Should see logs about successful removal of expired file
10. Should see that the metadata in uploads.list is gone
11. Should see that the file was deleted
Kim Alvefur <zash@zash.se> [Thu, 25 Feb 2021 13:12:07 +0100] rev 11408
mod_http_errors: Add some comments
Kim Alvefur <zash@zash.se> [Thu, 25 Feb 2021 12:59:28 +0100] rev 11407
mod_http_errors: Add some silly variations for the '/' page
> "You can do anything in XMPP!"
> as a reminiscence of zombo.com
-- jonas’
> A study in simplicity.
Prosody tagline