richardgirges / express-fileupload

Simple express file upload middleware that wraps around busboy
MIT License
1.52k stars 259 forks source link

Do not run next after abortion on limit #362

Closed RomanBurunkov closed 8 months ago

RomanBurunkov commented 8 months ago

Do not run next after abortion on limit due unpiping busboy from request. Check if headers has been sent in closeConnection function.

This is fixing #238

coveralls commented 8 months ago

Coverage Status

coverage: 94.311% (-0.5%) from 94.785% when pulling 718a5747ca2baf4540250cee3219eb286d820d36 on RomanBurunkov:master into fcb6952cfcdb7c5683a8910fe11aeb98eafc02d7 on richardgirges:master.