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

@cunha-ambisis you should create a new form on each request (inside app.use) #954

Open ftaiolivista opened 9 months ago

ftaiolivista commented 9 months ago
          @cunha-ambisis you should create a new form on each request (inside app.use)

See examples

Originally posted by @GrosSacASac in https://github.com/node-formidable/formidable/issues/422#issuecomment-1043134451

This must be stated more clearly in the documentation

For example the API doc that show:

import formidable from 'formidable'; const form = formidable(options);

it's misleading

Amanp30 commented 9 months ago

Yes i also see problem in that