node-formidable / formidable

The most used, flexible, fast and streaming parser for multipart form data. Supports uploading to serverless environments, AWS S3, Azure, GCP or the filesystem. Used in production.
MIT License
7k stars 680 forks source link

fix: flush or fail always (don't hang) #945

Closed GrosSacASac closed 10 months ago

GrosSacASac commented 12 months ago

fixes https://github.com/node-formidable/formidable/issues/878 @stevenwdv @phpbg @hannesfant @machineghost @lmammino please review

stevenwdv commented 10 months ago

Yes this seems to work! Both for valid and invalid/incomplete input it doesn't anymore hang now.

GrosSacASac commented 10 months ago

Will merge when I come back

GrosSacASac commented 10 months ago

published as 3.5.1