fox1t / fastify-multer

Fastify plugin for handling multipart/form-data
MIT License
89 stars 14 forks source link

Cannot pass stream to request handler #1

Closed numfin closed 4 years ago

numfin commented 5 years ago

I want to just pass stream from busboy and handle it with other libs through file.stream. But when i call _handleFile callback, nothing happens.

image

All i found is fastify-multer not calling next() if busboy didnt finish request read. How i can solve this?

fox1t commented 5 years ago

Hi @numfin thanks for pointing this out. Can you provide a repro repo here on github? I want to start looking at this issue using the same starting point you have.

numfin commented 4 years ago

@fox1t sorry i was too busy to look at github notifications -_- I not remember what happened there, i made my own implementation back there. I dont have source now.