WIP: fix: ensure large uploads work #84

Draft
p4u1 wants to merge 1 commits from upload-limit into main
Owner
No description provided.
p4u1 added 1 commit 2026-06-03 16:23:52 +00:00
fix: ensure large uploads work
Some checks failed
continuous-integration/drone/pr Build is failing
394b68a920
Owner

@p4u1 is this ready for testing? we're having this same issue

@p4u1 is this ready for testing? we're having this same issue
Owner

we tested it anyway! this is what we observe, taking into account we're reverse-proxying coopcloud's traefik with an nginx server (with really high client body size and timeout limits):

  • PHP_UPLOAD_LIMIT=20G
  • with a 3GB file, the web client creates 5 chunks and starts 5 PUT requests
  • the first request fails with 504 gateway timeout error
  • web client cancels the other 4 with 499 client closed connection
  • abra logs 400 errors for the 5 requests on recipe's nginx
  • no php logs (i've never seen a php-fpm log that worked btw)
we tested it anyway! this is what we observe, taking into account we're reverse-proxying coopcloud's traefik with an nginx server (with really high client body size and timeout limits): * `PHP_UPLOAD_LIMIT=20G` * with a 3GB file, the web client creates 5 chunks and starts 5 PUT requests * the first request fails with 504 gateway timeout error * web client cancels the other 4 with 499 client closed connection * abra logs 400 errors for the 5 requests on recipe's nginx * no php logs (i've never seen a php-fpm log that worked btw)
Author
Owner

@fauno for me this worked for a 4gb upload. But I also needed the traefik fix coop-cloud/traefik#107

I don't really have time right now to bring both PRS over the finish line so feel free to continue

@fauno for me this worked for a 4gb upload. But I also needed the traefik fix https://git.coopcloud.tech/coop-cloud/traefik/pulls/107 I don't really have time right now to bring both PRS over the finish line so feel free to continue
Some checks failed
continuous-integration/drone/pr Build is failing
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin upload-limit:upload-limit
git checkout upload-limit
Sign in to join this conversation.
No description provided.