Commits on Apr 12, 2016
  1. Merge pull request #6 from sorin-manole/master

    Fix buffer overread while parsing part data
    committed Apr 12, 2016
  2. @sorin-manole
Commits on Jan 31, 2014
  1. Merge pull request #3 from priteshshah1983/master

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

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

    Fix for LAST_BOUNDARY handling in MultipartParser.

    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.
    johnyanarella committed May 13, 2011
  2. @johnyanarella

    Fix for issues with callback userData

    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.
    johnyanarella committed May 13, 2011
Commits on May 12, 2011
  1. @johnyanarella

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

    …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.
    johnyanarella committed May 12, 2011
Commits on Jul 20, 2010
  1. Add Formidable benchmark

    committed Jul 20, 2010
  2. Improve benchmarks

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

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

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

    committed Jul 7, 2010
  2. Use memchr() to implement isBoundaryChar() instead of our own impleme…

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

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

    committed Jul 6, 2010
  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.
    committed Jul 6, 2010
  3. Add onHeaderDone and onHeadersDone events so that users don't have to…

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

    committed Jun 22, 2010
  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.
    committed Jun 22, 2010
  3. Fix a bug.

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

    committed Jun 22, 2010
  2. Add license

    committed Jun 21, 2010
  3. Add Makefile

    committed Jun 21, 2010
  4. Allow empty header values.

    committed Jun 21, 2010