Skip to content

Commit

Permalink
multipart: ignore remaining data instead of forcefully ending
Browse files Browse the repository at this point in the history
Fixes: mscdex#295
  • Loading branch information
mscdex committed Apr 19, 2022
1 parent 2b73b9d commit a8e2ac0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/types/multipart.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,6 @@ retrydata:
// End of multipart data
this._complete = true;
this._bparser = ignoreData;
// Forcefully end the stream so that we're not waiting on any
// potential useless trailer data
this.end();
return;
}
// We saw something other than '-', so put the dash we consumed
Expand Down

0 comments on commit a8e2ac0

Please sign in to comment.