Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 31, 2014
  1. Merge pull request #3 from priteshshah1983/master

    Fixed undeclared malloc
  2. @priteshshah1983
Commits on May 31, 2011
  1. Merge pull request #1 from johnyanarella/master

    Hongli Lai authored
    Multiple Fixes to MultipartParser and MultipartReader
Commits on May 13, 2011
  1. @johnyanarella

    Fix for LAST_BOUNDARY handling in MultipartParser.

    johnyanarella authored
    When the last boundary was encountered, the onPartEnd and onEnd callbacks were not being called, nor was the parser state set to END.
    Modified last boundary handling logic to call these callbacks and set the parser state.
    Mirrors a matching fix in formidable.js.
  2. @johnyanarella

    Fix for issues with callback userData

    johnyanarella authored
    MultipartReader always passes an uninitialized pointer as the userData argument for all callbacks, and a MultipartReader instance's userData cannot be set externally.
    Modified MultipartReader to initialize and expose the userData property as in MultipartParser.
Commits on May 12, 2011
  1. @johnyanarella

    Fix for bug introduced in when PART_DATA processing was extracted to …

    johnyanarella authored
    …a separate function in commit 6c2014a.
    The feed state is also now passed by reference to processPartData, so that the feed state is correctly updated.
    Fixed minor typo inherited from original formidable.js source code.
Commits on Jul 20, 2010
  1. Add Formidable benchmark

  2. Improve benchmarks

Commits on Jul 19, 2010
  1. Use Rake instead of Make.

Commits on Jul 17, 2010
  1. Sync API with Formidable.

Commits on Jul 7, 2010
  1. Add more error checking.

  2. Use memchr() to implement isBoundaryChar() instead of our own impleme…

    …ntation. This makes it significantly faster.
  3. Move PART_DATA processing code to a seperate function so that it show…

    …s up as a seperate entry in the profiler.
Commits on Jul 6, 2010
  1. Update README

  2. Add MultipartReader.

    This is a wrapper around MultipartParser but has more developer-friendly
    events by buffering header data and presenting it as a multimap.
  3. Add onHeaderDone and onHeadersDone events so that users don't have to…

    … write a lot of redundant state-keeping situps.
Commits on Jun 22, 2010
  1. Ignore empty input.

  2. Fix: Trailing boundary-like data caused parse error

    When we discard a started boundary at the end of a part's data block,
    we need to re-consider the current character as it could be the
    beginning of a new boundary sequence itself.
  3. Fix a bug.

Commits on Jun 21, 2010
  1. Add more error checks.

  2. Add license

  3. Add Makefile

  4. Fix another bug.

Something went wrong with that request. Please try again.