You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For security reasons, `@fastify/multipart` sets the limit for `parts` and `fileSize` being _1000_ and _1048576_ respectively.
91
89
92
-
**Note**: if the file stream that is provided by `data.file` is not consumed, like in the example below with the usage of pump, the promise will not be fulfilled at the end of the multipart processing.
90
+
**Note**: if the file stream that is provided by `data.file` is not consumed, like in the example below with the usage of pipeline, the promise will not be fulfilled at the end of the multipart processing.
93
91
This behavior is inherited from [`@fastify/busboy`](https://github.com/fastify/busboy).
94
92
95
93
**Note**: if you set a `fileSize` limit and you want to know if the file limit was reached you can:
@@ -99,7 +97,7 @@ This behavior is inherited from [`@fastify/busboy`](https://github.com/fastify/b
0 commit comments