aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2026-07-10 10:09:58 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2026-07-10 10:09:58 -0700
commit0802a90657ade00851e3d798fc80682438a091fa (patch)
tree8d171f83714aafb64ce9bd1f0bb0b80a68d85d7c /cmd
parentc82ba6624a184e5d17b9e3857ac908f40b22a191 (diff)
Close resource and info fork writers after upload
UploadHandler and UploadFolderHandler opened the resource and info fork writers but only ever closed the data fork writer. On the OS-backed file store this leaked a descriptor per uploaded file; on a backend that only commits on Close (such as an object store, modeled by MemFileStore) the fork data was silently dropped entirely. Track the fork writers as closers and close them after the transfer completes, before renaming the data fork into place. Add a MemFileStore-backed regression test that fails without the fix.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions