aboutsummaryrefslogtreecommitdiff
path: root/libweb
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-10-06 15:53:11 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-10-06 16:28:59 +0200
commitfda1fed7c88549030523350c0a3f337e49bbf868 (patch)
treef7c62b6b294cbfe032d529903638620cd5453ec3 /libweb
parenteab87d6828f21d01dfd09bc01bf094ca5e176358 (diff)
downloadslcl-fda1fed7c88549030523350c0a3f337e49bbf868.tar.gz
Fix missing refactors related to cftw
Commit 4fa1b3e8 missed to update other calls to cftw that were still relying on the older interface, causing unexpected errors. As a side effect, user quotas are now calculated asynchronously i.e., without blocking other clients. While the same improvement was planned for the /rm endpoint, it proved too challenging to implement for a first refactor: on one hand, /rm takes one or more key-value pairs involving the top-level directories and/or files to remove. On the other hand, every directory must be traversed recursively as rmdir(2) must be used on empty directories. While certainly possible, it was considered to keep a synchronous behaviour for do_rm for the sake of simplicity.
Diffstat (limited to 'libweb')
m---------libweb0
1 files changed, 0 insertions, 0 deletions
diff --git a/libweb b/libweb
-Subproject 5a6f30440b66fe6713acb9d979dc3e6624e4c36
+Subproject 4918cf87d3cf5d3dd8425fe10d97a06282472df