refactor(storage): enforce per-user max_file_bytes limit on upload pipelines #20

Merged
Esiah merged 1 commits from feat/bypass-cloudflare-413-and-ponctual-data-fetch into main 2026-10-31 10:16:28 +00:00
  • Validate Content-Length on single-part upload route against user limit
  • Check total expected size on chunked upload session creation
  • Re-evaluate user limit at finalization to reject dynamic quota reductions
  • Clean up temporary files on payload size rejection (413)
  • Add 60-second polling interval for periodic fetching of messages and images
* Validate Content-Length on single-part upload route against user limit * Check total expected size on chunked upload session creation * Re-evaluate user limit at finalization to reject dynamic quota reductions * Clean up temporary files on payload size rejection (413) * Add 60-second polling interval for periodic fetching of messages and images
gitea-actions bot added 1 commit 2026-10-31 10:13:33 +00:00
refactor(storage): enforce per-user max_file_bytes limit on upload pipelines
PR — Ouverture automatique / create-pr (push) Successful in 3s
71f501da6f
* Validate Content-Length on single-part upload route against user limit
* Check total expected size on chunked upload session creation
* Re-evaluate user limit at finalization to reject dynamic quota reductions
* Clean up temporary files on payload size rejection (413)
* Add 60-second polling interval for periodic fetching of messages and images
Esiah approved these changes 2026-10-31 10:16:22 +00:00
Esiah left a comment
Owner

LGTM

LGTM
Esiah merged commit 3542b33c89 into main 2026-10-31 10:16:28 +00:00
Esiah deleted branch feat/bypass-cloudflare-413-and-ponctual-data-fetch 2026-10-31 10:16:28 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Esiah/CoHaiSe-CLOUD#20