vikunja/pkg/routes/api
kolaente 02e7a134cc fix(api): close the user data export reader after download
DownloadUserDataExport obtained an open file reader from
GetUserDataExportFile but never closed it on either the s3 io.Copy or the
http.ServeContent branch, leaking a file descriptor on every download.
Defer the close right after the file is obtained so both branches and the
error paths cover it.
2026-06-17 18:39:38 +00:00
..
shared refactor(testing): extract e2e fixture reset/truncate into shared package 2026-06-17 12:13:50 +00:00
v1 fix(api): close the user data export reader after download 2026-06-17 18:39:38 +00:00
v2 fix(api/v2): close export reader when commit fails before streaming 2026-06-17 18:39:38 +00:00