Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit total file size and chunk size #37

Open
nerg4l opened this issue Mar 7, 2020 · 1 comment
Open

Limit total file size and chunk size #37

nerg4l opened this issue Mar 7, 2020 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@nerg4l
Copy link
Member

nerg4l commented Mar 7, 2020

Would be great to have options for limiting total file size and chunk size. The handler should not accept files and chunks bigger than the limit. In some cases this could prevent malicious usage.

@nerg4l nerg4l added the help wanted Extra attention is needed label Mar 7, 2020
@nerg4l nerg4l added this to the v0.3.0 milestone Mar 7, 2020
@nerg4l nerg4l added the enhancement New feature or request label Mar 7, 2020
@nerg4l nerg4l modified the milestones: v0.3.0, Unplanned Jun 12, 2020
@nerg4l
Copy link
Member Author

nerg4l commented Jun 13, 2020

Related #44

When using Resumable.js, Flow.js, or simple-upload.js the last chunk can be bigger than the chunkSize parameter. Max twice as big but it is not defined in any of the mentioned libraries' documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant