Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #176 from svnlto/master

fixing scope issue in incoming_forms
  • Loading branch information...
commit 9c42c75adaa4da99f98847e1cb671f537131a6d9 2 parents a3d7402 + fcdbbb6
@svnlto svnlto authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/incoming_form.js
View
3  lib/incoming_form.js
@@ -33,6 +33,8 @@ function IncomingForm(opts) {
this._parser = null;
this._flushing = 0;
this._fieldsSize = 0;
+ this.openedFiles = [];
+
return this;
};
util.inherits(IncomingForm, EventEmitter);
@@ -89,7 +91,6 @@ IncomingForm.prototype.parse = function(req, cb) {
};
this.writeHeaders(req.headers);
- this.openedFiles = [];
var self = this;
req
Please sign in to comment.
Something went wrong with that request. Please try again.