expressjs / expressjs/multer

Request n+1 is pending indefinitely after "TOO_MANY_FILES" Error.

Open
#1,139 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
1.1k
Avg merge
8d 2h
Merged PRs (30d)
21

Description

Hello,
I noticed a problem on the current LTS version (1.4.5-lts.1).
When the number of uploaded files exceeds the specified limit and a TOO_MANY_FILES error is thrown, the request after the one issuing the error does not seem to close and is pending.
The same thing happens with an "Unexpected fields" error (I didn't check if this happens with the other errors, tho).

Nota : 1.4.3 and 1.4.4 don't seem to be affected by this issue.

Don't hesitate to come back to me if you need more information.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.