Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
Commits on Jun 26, 2010
@felixge Fix: node > 0.1.98 compatibility 37e00ac
@felixge Bump version a6922ef
Commits on Jun 29, 2010
@felixge Fix: Handle pause() calls on destroyed uploads
This patch also improves the behavior for resume().

net.Stream currently does not guarantee 'data' to stop emitting after
pausing a stream. This makes the current throttling function
problematic and prone to race conditions. This patch will take of it
for now, but a further patch for node itself will make things even
@felixge Bump version 857559e
Commits on Jul 13, 2010
@felixge Add missing err parameter to docs f92b1db
Commits on Jul 15, 2010
@felixge Feature: IncomingForm.timeout
By default uploads that are not receiving data for longer than 30
seconds will now emit an error.
@felixge Bump version 464fc9d
Commits on Jul 16, 2010
@felixge Revert "Feature: IncomingForm.timeout"
This reverts commit 5e2612c.

There seems to be problems with this, causing non-stalled uploads to
report timeouts as well. Need to investigate.
Commits on Jul 17, 2010
@felixge Fix: Handling of empty header values and field data
This patch introduces two new events to the multipart parser:
'onHeaderEnd' and 'onHeadersEnd'. These make it much easier to properly
handle the output of the parser.

Another nice addition is a system test that verifies a complete upload
from start to finish.
@felixge Add .npmignore file 3b67d93
@felixge Make clean for test/tmp bf21f0c
@felixge Feature: IncomingForm.maxFieldSize
The parser is now considered safe. A malicious client can no longer
allocate huge amounts of memory by sending a big field.
@felixge Bump version 18de5c6
@felixge Added ports section 52e0ea9
@felixge Renamed maxFieldSize to maxFieldsSize 9f970b7
@felixge Bump version 3f11e89
Commits on Jul 28, 2010
@felixge Work around race condition
It seems like connections are dying randomly when not sending
a content-length header.
Commits on Sep 08, 2010
@substack substack can now just do `new formidable` e94f24e
@substack substack `formdiable()` now does the same thing as `new formidable` 6e5c78b
@felixge Test cases for substack's patches 8f5e7f4
@felixge Bump version 6ccf2d5
Commits on Sep 17, 2010
@felixge Fix: Handle quotes in filenames 7b60942
Commits on Oct 18, 2010
@felixge Compatibility with node HEAD 720f4a3
@felixge Missing module for previous commit 77b9465
@felixge Feature: incomingForm 'fileBegin' event
This event is useful if you need to buffer the uploaded file to disk, but
you are interested in streaming it to somewhere else while it is still
being uploaded.

You may need this if you are streaming the file to a destination that is
potentially slower at receiving it than the client that is uploading. By
buffering to disk you can ensure maximum upload speed for the client, while
having the flexibility to streaming the file on disk with a different speed.
@felixge Refactoring addListener -> on 0e54a07
@felixge Go back to traditional coding style
Comma first doesn't seem light it has caught on, so this commit changes
the projects coding style back to the Google-ish standard formatting.
Commits on Oct 19, 2010
@felixge Bump version 229dc69
Commits on Oct 24, 2010
@felixge Fix comma error introduced in refactoring df18901
Commits on Oct 30, 2010
@felixge Better project description
Also added a paragraph about the state of the module with a tiny advertisment for
transloadit ; ).
Commits on Nov 12, 2010
@felixge Fix global variable leak
See report here: 792503a#L0R252
Commits on Nov 25, 2010
@felixge Make Makefile more portable 66fbaae
Commits on Dec 07, 2010
@aheckmann aheckmann fix global var leaks (comma last issue) 8e6cb2e
Commits on Dec 15, 2010
@ncr ncr Remove parsing of optional CRLF epilogoue, change parser so it ignore…
…s everything after last boundary
@felixge Bringing back the old rfc1867 test
The test without the trailing \r\n is now a separate test.
@felixge Bump version 2b02144
Commits on Dec 19, 2010
@tim-kos tim-kos Emit 'progress' event before parsing data
The 'progress' event is meant to indicate upload progress, not parsing
progress. This patch puts things into the right order.
Commits on Jan 18, 2011
@felixge Workaround stupid new node feature
This is only needed for the test suite.
@felixge Use HTML5 FileAPI properties for File class
This does not break backwards compatiblity yet, but future
versions will remove the old property alias.

@felixge Implement lastModifiedDate
Completes the basic HTML5 API compatibility from a property point of
@felixge Add changelog to readme
Not documenting the old releases for now

Also moved Todo into own file
@felixge Compact older releases 85b6d13
@felixge Update docs 129b51e
@felixge Bump version 63347d8
Commits on Mar 16, 2011
@foxxtrot foxxtrot Add support for multipart boundaries that are quoted strings. 88cc9c8
Commits on Mar 29, 2011
@felixge Make npm ignore vim undo files 5d98e9c
Commits on Apr 13, 2011
@felixge version 1.0.0 d07bc76
@felixge Add 1.0 release notes 230d0d3
@felixge Don't use require.paths
node will remove this at some point, let's get rid of it.
Commits on Apr 20, 2011
@deanlandolt deanlandolt update package.json for package refactor 29d5e3f
Commits on Apr 27, 2011
@felixge Merged pull request #68 from deanlandolt/master.
package.json fix
@felixge version 1.0.1 30fcda9
@felixge 1.0.1 Changelog 3f11f39
@felixge Use console.log, not ancient node methods 37b33fc
Commits on May 03, 2011
@felixge Use gitignore instead of npmignore and gitignore 5848319
@felixge Ignore node modules folder 0db3a1f
Commits on May 13, 2011
@felixge Bubble up 'aborted' events from request
Right now those can either mean that the socket had a 'timeout', or 'close'
event before finishing the request. I'll propose a node patch that will allow
seperating the two issues in the future.
@felixge Document 'aborted' event 211cdb9
Commits on May 23, 2011
@felixge Make gently a dev dependency a169691
@felixge Add 1.0.2 changelog 40c475d
@felixge Fix benchmark 3579467
@felixge Fix package.json 8b8da9d
@felixge version 1.0.2 a01d5b4
@felixge Add missing piece to changelog 9c6d710
@felixge Change gitignore to please npm df41df4
Commits on Jun 08, 2011
@Jimbly Jimbly Fixed example in to be an actual runnable node.js program. 05ad58e
Commits on Jun 09, 2011
@felixge Merge pull request #76 from Jimbly/master
Fix to example code in
Commits on Jun 26, 2011
@gliese1337 gliese1337 Slight but definite & consistent performance boost. 0a0b150
Commits on Sep 08, 2011
@felixge Move current test suite into test/legacy 50fa2fb
@felixge Run tests using far 75c9ac8
@felixge Add fast-or-slow and new test/common.js 4d07b96
@felixge Merge branch 'fast-or-slow'
* fast-or-slow:
  Add fast-or-slow and new test/common.js
  Run tests using far
  Move current test suite into test/legacy
Commits on Sep 09, 2011
@felixge Add build step 6c528af
@felixge Fix gently version
Newer versions seem to cause an error
@felixge Refactor filename parsing into own function
Will make it easier to write tests
@felixge Add fixtures for filenames with special characters d52ecd3
@felixge Add simple request recorder 93e81d4
@felixge Move new fixtures around b9876eb
@felixge Initial fixture verifier test
Seems to blow up after the first test instead of running all, got to
@felixge Move some code around 4f20c52
@felixge Fix test case bf0ffba
Commits on Sep 10, 2011
@felixge Better filename parsing a3a3a00
@felixge Check fixture part name 2a4f45c
@felixge Validate fixture filenames
Still need to improve parsing
@felixge Unescape quotes for webkit 149353f
@felixge Fix unicode characters in filename for FF / IE 9beddb6
@felixge Merge branch 'gh-94-filenames-with-special-characters'
* gh-94-filenames-with-special-characters:
  Fix unicode characters in filename for FF / IE
  Unescape quotes for webkit
  Validate fixture filenames
  Check fixture part name
  Better filename parsing
  Fix test case
  Move some code around
  Initial fixture verifier test
  Move new fixtures around
  Add simple request recorder
  Add fixtures for filenames with special characters
  Refactor filename parsing into own function

Fixes #58
Fixes #84
@felixge version 1.0.3 55634e9
@felixge 1.0.3 Release notes 0ce4e3f
@felixge Add npmignore efc904f
Commits on Sep 11, 2011
@felixge Fix npm ignore 3559b0c
Commits on Sep 15, 2011
@felixge Plattform independent upload dir detection ed48c81
@felixge Document new uploadDir detection d6b7def
@felixge Merge branch 'gh-88-plattform-independent-upload-dir'
* gh-88-plattform-independent-upload-dir:
  Document new uploadDir detection
  Plattform independent upload dir detection

Fixes #88
@felixge version 1.0.4 6b65348
@felixge Add 1.0.4 changelog 18257ef
Commits on Sep 16, 2011
@felixge Explain unexpected end errors better 2fde202
@felixge Remove http recording left overs from fixtures de9f379
@felixge Support file uploads with filename=""
The new FormData API in Firefox does not support supplying this info yet.
@felixge Add missing test for filenames c5877d3
@felixge version 1.0.5 b2e64e3
@felixge Add 1.0.5 changelog 039f73c
Commits on Sep 21, 2011
@felixge Do not give a default filename when filename=""
That's because filename="" is also set when there is an empty file
input field, not just when using mozilla's incomplete FormData APIs.
@felixge version 1.0.6 ee807d5