debian/patches/
1 patch in series
-
pause-req-during-async-writeHeaders.patchSince 3.3.2, Formidable#parse() is async and awaits writeHeaders() before attaching the req.on('data') listener. If a caller has already attached a 'data' listener on the request (e.g. for content-length accounting), the stream is in flowing mode: chunks arriving during the await are emitted and lost before Formidable subscribes, silently dropping the first part(s) of a multipart body. Pause the request at the top of parse() so chunks are buffered in the request's internal queue until the parser is ready, then resume once Formidable's data listener is attached.- Author
- Xavier Guimard <[email protected]>
- Forwarded
- https://github.com/node-formidable/formidable/pull/1093
- Last update
- 2026-04-17
| dir | .. |
| file | pause-req-during-async-writeHeaders.patch |
| file | series |