Skip to content
This repository

Mar 13, 2014

  1. Fedor Indutny

    Bump version to 2.3.0

    indutny authored

Jan 28, 2014

  1. Fedor Indutny

    Bump version to 2.2.1

    indutny authored

Dec 20, 2013

  1. Fedor Indutny

    Bump version to 2.2

    indutny authored

Jun 13, 2013

  1. Ben Noordhuis

    build: set SONAME in shared object file

    Fixes #151.
    bnoordhuis authored

Dec 19, 2012

  1. Ben Noordhuis

    Move url_parser.c to contrib/

    bnoordhuis authored

Dec 16, 2012

  1. Corey Richardson

    Add a simple utility to dump events as they happen

    cmr authored bnoordhuis committed

Nov 10, 2012

  1. Ben Noordhuis

    Remove HTTP_PARSER_DEBUG macro.

    Remove the HTTP_PARSER_DEBUG macro for two reasons:
    
    * It changes the size of struct http_parser, resulting in spurious memory
      corruption bugs if part of your application is built with HTTP_PARSER_DEBUG=1
      and other parts with HTTP_PARSER_DEBUG=0.
    
    * It's a debugging tool for maintainers. It should never have been exposed in
      the API in the first place.
    bnoordhuis authored

Jul 08, 2012

  1. Bertrand Paquet

    Add url_parser tool

    bpaquet authored

Feb 13, 2012

  1. Thomas L

    build: add shared libraries target

    thomaslim authored bnoordhuis committed

Jun 19, 2011

  1. Peter Griess

    Re-jigger Makefile.

    - 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.
    pgriess authored
  2. Peter Griess

    Facility to report detailed parsing errors.

    - 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.
    pgriess authored

May 28, 2011

  1. Peter Griess

    IS_* macros for char classes.

    - 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
    pgriess authored ry committed

May 24, 2011

  1. Add 'package' target in Makefile which produces libhttp_parser.a

    Salman authored ry committed
  2. ry

    HTTP_STRICT ifdefs out behavior introduced in 50b9bec

    Fixes #37.
    ry authored

Jul 31, 2010

  1. ry

    Changes to compile with clang

    ry authored

May 11, 2010

  1. Makefile: add http_parser.h dependencies to test targets

    Cliff Frey authored ry committed

Apr 29, 2010

  1. ry

    Use _g for the debug build

    ry authored

Feb 02, 2010

  1. Makefile: fix include path

    Cliff Frey authored ry committed

Nov 21, 2009

  1. ry

    add tags to make clean

    ry authored
  2. ry

    Fix initialization bug.

    Heap allocate parser in tests, to get errors with valgrind.
    ry authored

Nov 20, 2009

  1. ry

    Don't delete http_parser.c on make clean

    ry authored
  2. ry

    two builds in makefile

    ry authored
  3. ry

    add response scan, fix persistent bug

    ry authored
  4. ry

    strict check

    ry authored
  5. ry

    new version

    Trashing the old Ragel parser (which was based on Mongrel) because it's
    proving difficult to get the control I need in end-of-message cases.
    Replacing this with a hand written parser using a couple tricks borrowed
    from NGINX. The new parser will be much more work to write, but should prove
    faster and allow for better hacking.
    ry authored

Aug 20, 2009

  1. ry

    Fix whitespace, clean up some macros.

    ry authored

Jul 13, 2009

  1. ry

    Add LICENSE file to 'make package'

    ry authored
  2. ry

    Fix errors for -Wall.

    ry authored

Jun 09, 2009

  1. ry

    Simply makefile to work on freebsd

    ry authored

Apr 27, 2009

  1. ry

    fix 'make package'

    ry authored
  2. ry

    add make package

    ry authored
  3. ry

    Break on non-zero return value from on_body and on_headers_complete.

    Changed skip_body() from a function to a marco. This is rather hacky and
    should be dealt with better in the future.
    
    Also add handling for callback on_message_begin.
    ry authored

Apr 26, 2009

  1. ry

    Add second response fixture. Response tests pass.

    ry authored
  2. ry

    Deep asserts in test.c

    Instead of returning a boolean and calling assert() in main(), test.c now
    calls assert() as soon as possible. This will require gdb to know what is failing
    but that was probably already true before and this way uses a lot less code.
    
    I also added a conditional to the parser which, perhaps, splits input more efficiently
    into request and responses. I'm playing around with this and it will likely
    change again in the future.
    ry authored

Apr 25, 2009

  1. ry

    Remove "ebb_message" object from libebb's parser.

    And much more:
     * Begin the framework for parsing HTTP responses
     * Modify the test code with the new layout
     * Remove EBB_ prefix and use just HTTP_
     * Start simple new Makefile
    
    Currently the test passes but it is only checking HTTP requests. I get the
    feeling that it is much slower than before, although I have no solid
    evidence for this.
    ry authored
Something went wrong with that request. Please try again.