H1K0 fa2acca858 fix(backend): cap upload size to prevent memory exhaustion
Upload and Replace buffered the entire request body into memory with no
size limit, so a few large uploads could OOM the server. The file
handler now wraps the request body in http.MaxBytesReader and rejects any
file larger than MAX_UPLOAD_BYTES (default 500 MiB) before it is buffered.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 14:07:34 +03:00
S
Description
🎋Tanabata — web file manager with tags!
5.6 MiB
Languages
Go 49.6%
Svelte 39%
TypeScript 8.7%
PLpgSQL 1.4%
Dockerfile 0.5%
Other 0.8%