Debian Patches

Status for node-formidable/3.5.4+~cs11.10.5-1

Patch Description Author Forwarded Bugs Origin Last update
pause-req-during-async-writeHeaders.patch pause req during async writeHeaders to avoid chunk loss Since 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.
Xavier Guimard <yadd@debian.org> yes 2026-04-17

All known versions for source package 'node-formidable'

Links