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: IncomingForm end event emitted twice #852

Closed jimmyolo closed 2 years ago

jimmyolo commented 2 years ago

closes to https://github.com/node-formidable/formidable/issues/810

GrosSacASac commented 2 years ago

Thanks

gaganjot99 commented 2 years ago

Issue still persisting for me. I just reinstalled formidable, end event again is being emitted twice I have files input, For some reason it only happens when I include only one file but for two or more files it works perfectly.

tunnckoCore commented 2 years ago

use npm install node-formidable/formidable (the master branch), it's not yet in NPM i think.

@gaganjot99

gaganjot99 commented 2 years ago

Thanks