Open jseppi opened 3 years ago
Seems like an unrelated test is failing: https://travis-ci.com/github/richardgirges/express-fileupload/jobs/411601698#L315
It is also failing in this other PR https://github.com/richardgirges/express-fileupload/pull/244/commits that only fixes a typo: https://travis-ci.com/github/richardgirges/express-fileupload/jobs/379107787#L320
Ah, the test is failing in master
as well:
https://travis-ci.com/github/richardgirges/express-fileupload
Is there any plan to pick up this PR where it was left off?
My current workaround (middleware to check the array length and throw an error) feels clunky, would be down to help with this issue.
This is a re-attempt at https://github.com/richardgirges/express-fileupload/pull/152.
It adds a new configuration option,
numFilesLimitHandler
, so that the consumer can provide a handler function whenbusboy
's'filesLimit'
event is triggered. This event is triggered when the number of files uploaded surpasses the specificlimits.files
.