Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ Key | Description | Default
`headerPairs` | For multipart forms, the max number of header key=>value pairs to parse | 2000
`fieldNestingDepth` | Max number of nesting levels for field names (e.g. `a[b][c]` has 2 levels) | Infinity

The `parts` limit is triggered when busboy reaches the configured number of
parts, not only after that number is exceeded. If you want to allow an exact
number of fields and files, set `parts` to at least one more than that total.

Specifying the limits can help protect your site against denial of service (DoS) attacks.

### `fileFilter`
Expand Down