multer
multer copied to clipboard
fix: app crash
During stream termination, errors can occur which can crash the entire application, since all the listeners on the busboy are removed. We suppress such errors with this fix.
Scenario: If Dicer didn't fully parse the content and the stream terminates (for example after failing to pass the fileFilter), Dicer sends an error event (link). This event goes to Busboy (link) and then crashes because all listeners have been deleted.
Thanks for taking the time to work on this PR!
I recently released 1.4.4-lts.1
from the #1097 PR which removes Dicer altogether. Does that solve your problem?