Skip to content

Commit

Permalink
Change the default to 1000, to match the new Node behaviour.
Browse files Browse the repository at this point in the history
  • Loading branch information
OrangeDog committed Mar 7, 2013
1 parent 4048c8f commit 852ab9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/incoming_form.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function IncomingForm(opts) {
this.error = null;
this.ended = false;

this.maxFields = opts.maxFields || 0;
this.maxFields = opts.maxFields || 1000;
this.maxFieldsSize = opts.maxFieldsSize || 2 * 1024 * 1024;
this.keepExtensions = opts.keepExtensions || false;
this.uploadDir = opts.uploadDir || os.tmpDir();
Expand Down

0 comments on commit 852ab9f

Please sign in to comment.