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

limits.files = 0 defaults to Infinity #58

Closed
vonnieda opened this issue Sep 21, 2014 · 2 comments
Closed

limits.files = 0 defaults to Infinity #58

vonnieda opened this issue Sep 21, 2014 · 2 comments

Comments

@vonnieda
Copy link

I wanted to allow no files uploaded so I set limits : { files : 0 }} but since busboy does limits.files || Infinity it defaults to infinity when the limit is 0. This is the cases with a few other configuration parameters too.

@mscdex
Copy link
Owner

mscdex commented Sep 21, 2014

Thanks, fixed in 88284b6.

@mscdex mscdex closed this as completed Sep 21, 2014
@vonnieda
Copy link
Author

Whoa! Super fast! Thanks for the fix! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants