Permalink
Commits on Aug 17, 2011
  1. add tests for on_reason

    toffaletti committed Aug 17, 2011
Commits on Aug 16, 2011
Commits on Aug 7, 2011
  1. Peter Bright's VC fixes

    ry committed Aug 7, 2011
Commits on Aug 6, 2011
  1. Support MSVS

    ry committed Aug 6, 2011
Commits on Jul 24, 2011
  1. Merge pull request #57 from fmardini/master

    pgriess committed Jul 24, 2011
    A struct member rename for compatibility with errno.h
  2. rename parser->errno to parser->http_errno; conflicts with errno.h wh…

    fmardini committed Jul 24, 2011
    …ere errno is defined as a macro
Commits on Jul 20, 2011
  1. Merge pull request #54 from pgriess/path-query-frag-callbacks

    pgriess committed Jul 20, 2011
    API CHANGE: Remove path, query, fragment CBs.
  2. API CHANGE: Remove path, query, fragment CBs.

    pgriess committed Jul 16, 2011
    - Get rid of support for these callbacks in http_parser_settings.
    - Retain state transitions between different URL portions in
      http_parser_execute() so that we're making the same correctness
      guarantees as before.
    - These are being removed because making multiple callbacks for the same
      byte makes it more difficult to pause the parser.
  3. Merge pull request #53 from pgriess/callback_noclear

    pgriess committed Jul 20, 2011
    Get rid of CALLBACK_NOCLEAR().
  4. Merge pull request #52 from pgriess/errno

    pgriess committed Jul 20, 2011
    Break out errno into its own field.
Commits on Jul 9, 2011
  1. Get rid of CALLBACK_NOCLEAR().

    pgriess committed Jul 9, 2011
    - This was only used by CALLBACK() (which then cleared the mark anyway),
      and the end of the http_parser_execute() body (after which they
      go out of scope).
Commits on Jun 20, 2011
  1. Merge pull request #51 from kolbyjack/is_alpha

    pgriess committed Jun 20, 2011
    Group POST refinements, test all request methods, make IS_ALPHA use LOWER
Commits on Jun 19, 2011
  1. Re-jigger Makefile.

    pgriess committed Jun 19, 2011
    - Uses more standard $CFLAGS and $CPPFLAGS variables to populate the set
      of flags to build with.
    - Allow extending compilation and linking flags with
      $CPPFLAGS_DEBUG_EXTRA, $CPPFLAGS_FAST_EXTRA, $CFLAGS_DEBUG_EXTRA, and
      $CFLAGS_FAST_EXTRA.
    
    Closes #40.
  2. Merge pull request #43 from pgriess/error-reporting

    pgriess committed Jun 19, 2011
    Facility to report detailed parsing errors.
  3. Facility to report detailed parsing errors.

    pgriess committed May 23, 2011
    - Add http_errno enum w/ values for many parsing error conditions. Stash
      this in http_parser.state if the 0x80 bit is set.
    - Report line numbers on error generation if the (new) HTTP_PARSER_DEBUG
      cpp symbol is set. Increases http_parser struct size by 8 bytes in
      this case.
    - Add http_errno_*() methods to help turning errno values into
      human-readable messages.
  4. Merge pull request #49 from pgriess/upgrade-off-by-one

    pgriess committed Jun 19, 2011
    Fix off-by-one in handling upgrade bodies.
Commits on Jun 18, 2011
  1. Fix off-by-one in handling upgrade bodies.

    pgriess committed Jun 18, 2011
    - When handling upgraded bodies, http_parser_execute() used to return
      one fewer bytes parsed than expected. This caused the final LF to be
      interpreted by the caller as part of the body.
    - Add a bunch of upgrade body unit tests.
  2. remove unused LOWER(ch)

    Cliff Frey committed Jun 18, 2011
  3. Merge pull request #48 from kolbyjack/master

    clifffrey committed Jun 18, 2011
    Allow uppercase chars in IS_ALPHANUM
Commits on Jun 11, 2011
  1. Merge pull request #27 from a2800276/master

    pgriess committed Jun 11, 2011
    lowercasing in header after check for CR LF
  2. Merge pull request #46 from kolbyjack/master

    pgriess committed Jun 11, 2011
    Also return error for bad requests starting with M or C
Commits on Jun 10, 2011
Commits on Jun 4, 2011
  1. Merge pull request #45 from scunningham/tracking

    clifffrey committed Jun 4, 2011
      Support multi-line folding in header values.
Commits on Jun 3, 2011
  1. Support multi-line folding in header values.

    scunningham committed Apr 29, 2011
      Normal value cb is called for subsequent lines.  LWS is skipped.
      Note that \t whitespace character is now supported after header field name.
    
      RFC 2616, Section 2.2
      "HTTP/1.1 header field values can be folded onto multiple lines if the
       continuation line begins with a space or horizontal tab. All linear
       white space, including folding, has the same semantics as SP. A
       recipient MAY replace any linear white space with a single SP before
       interpreting the field value or forwarding the message downstream."
  2. Fix build when char is unsigned by default.

    Cliff Frey committed Jun 3, 2011
    I tested by building/testing with -funsigned-char.  Thanks to apaprocki for
    pointing out this problem.
  3. Number HOSTNAME_UNDERSCORE test

    ry committed Jun 3, 2011
Commits on May 28, 2011
  1. IS_* macros for char classes.

    pgriess committed with ry May 28, 2011
    - Add IS_ALPHA(), IS_NUM(), IS_HOST_CHAR(), etc. macros for determining
      membership in a character class. HTTP_PARSER_STRICT causes some of
      these definitions to change.
    - Support '_' character in hostnames in non-strict mode.
    - Support leading digits in hostnames when the method is HTTP_CONNECT.
    - Don't re-define HTTP_PARSER_STRICT in http_parser.h if it's already
      defined.
    - Tweak Makefile to run non-strict-mode unit tests. Rearrange non-strict
      mode unit tests in test.c.
    - Add test_fast to .gitignore.
    
    Fixes #44