-
Notifications
You must be signed in to change notification settings - Fork 526
Description
Problem:
As described on: https://github.com/tus/tusd/blob/master/docs/faq.md
Adjust maximum request size. Some proxies have default values for how big a request may be in order to protect your services. Be sure to check these settings to match the requirements of your application.
Sometimes we can't change these values and we need to deal with these limitations ourselves.
Propose:
It would be great if we can chunk requests smaller than the upload thresholds.
Describe alternatives you've considered
Sure, we can implement this on the client like (uppy), but shouldn't the server enforce this value?
I mean we have -max-size, why not something like -max-chunk?
This will allow the server to negotiate with the client a reasonable value.
Otherwise we will receive a 413 Request Entity Too Large (Cloudflare for example) and the upload will just fail.
Can you provide help with implementing this feature?
I think we have all it's needed to easy implement it.
It is only necessary to discuss the idea to see if there is any problem with it.
Let me know what you guys think about it.