Skip to content

Commit 1deae47

Browse files
committed
Don't rely on resume() being called by pipe
1 parent 6ffdc34 commit 1deae47

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/form_data.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ formData._emitRegularPart = function(part) {
9595
if (this._parts.length === 0) {
9696
this._emitEndBoundary();
9797
this.readable = false;
98+
} else {
99+
this._emitData();
98100
}
99101
};
100102

0 commit comments

Comments
 (0)