Permalink
Commits on May 19, 2015
  1. src: fix invalid memory access in http_parse_host

    OnixGH committed with indutny May 18, 2015
    http_parse_host() depends on `u->field_data[UF_HOST]`, but this
    if() allowed the method to be called if only
    `u->field_data[UF_SCHEMA]` was set, resulting in use of
    unintialized pointers.
    
    PR-URL: #246
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Apr 24, 2015
  1. Bump version to 2.5.0

    indutny committed Apr 24, 2015
Commits on Apr 23, 2015
  1. src: support body in Upgrade requests

    KjellSchubert committed with indutny Apr 17, 2015
    Invoke message_complete cb for upgrade with body.
    
    (D1364677 + D1380182 orig author afrind@fb.com)
    
    Fix: #234
    PR-URL: #235
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  2. src: callbacks chunk boundaries: header/complete

    KjellSchubert committed with indutny Apr 18, 2015
    (Proxygen fork merge D508755 D521404, orig author simpkins@fb.com)
    
    Fix: #231
    PR-URL: #233
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  3. test: regression test for incomplete/corrupted hdr

    KjellSchubert committed with indutny Apr 17, 2015
    Add regression test that verifies that old bugs regarding corrupted
    and incomplete headers are fixed.
    
    (D512233 + D570451, orig authors brianp@fb.com + jtarnawski@fb.com)
    
    PR-URL: #236
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Mar 16, 2015
  1. makefile: add un/install targets

    Umorrian committed with indutny Mar 7, 2015
    Add install, install-strip and uninstall targets, make DESTDIR usable.
    
    PR-URL: #228
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Commits on Feb 24, 2015
  1. url_parser: remove mixed declarations

    jay committed with indutny Feb 24, 2015
    (dump_url)
    - Remove erroneous quote in output.
    
    (main)
    - Remove mixed declarations for compatibility with pre-c99 compilers
    like msvc.
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    PR-URL: #224
Commits on Feb 19, 2015
  1. src: partially revert 959f4cb to fix nread value

    indutny committed Feb 19, 2015
    With 959f4cb on reexecution - header byte was accounted twice, leading
    to the incorrect `parser->nread` value.
    
    Fix: #220
    PR-URL: #221
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Commits on Feb 15, 2015
  1. header: fix field sizes

    indutny committed Feb 15, 2015
    The flags enum does not fit into 6 bits anymore.
    
    Fix: #218
    PR-URL: #219
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Commits on Jan 26, 2015
  1. Add function to initialize http_parser_settings

    RomainGiraud committed with indutny Jan 23, 2015
    PR-URL: #215
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Jan 25, 2015
  1. Bump version to 2.4.2

    indutny committed Jan 25, 2015
  2. src: skip lws between `connection` values

    indutny committed Jan 24, 2015
    Fix: nodejs/node#588
    PR-URL: #216
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Commits on Jan 14, 2015
  1. Bump version to 2.4.1

    indutny committed Jan 14, 2015
  2. src: fix build on MSVC

    indutny committed Jan 14, 2015
    Do explicit casts from/to enums, convert type of `memchr`'s return value
    to `const char*`.
    
    PR-URL: #213
    Reviewed-By: Bert Belder <bertbelder@gmail.com>
Commits on Jan 13, 2015
  1. Bump version to 2.4.0

    indutny committed Jan 13, 2015
Commits on Dec 28, 2014
  1. readme: fix typo

    Akagi201 committed with indutny Dec 28, 2014
    PR-URL: #207
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Dec 5, 2014
  1. src: annotate with likely/unlikely

    indutny committed Dec 1, 2014
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  2. bench: add chunked bytes

    indutny committed Dec 1, 2014
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  3. src: simple Connection header multi-value parsing

    kolbyjack committed with indutny Mar 2, 2012
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
    PR-URL: #100
Commits on Nov 29, 2014
  1. src: remove reexecute goto

    indutny committed Nov 28, 2014
Commits on Nov 28, 2014
  1. src: save progress

    indutny committed Nov 28, 2014
  2. benchmark: initial

    indutny committed Nov 28, 2014
Commits on Nov 3, 2014
Commits on Oct 1, 2014
  1. Fix warning on test suite found by Clang Analyzer

    alagoutte committed with indutny Sep 1, 2014
    test.c:2210:9: warning: Value stored to 'char_len' is never read
            char_len = 2;
            ^          ~
    test.c:2921:3: warning: Value stored to 'pass' is never read
      pass &= (parsed == 0);
      ^       ~~~~~~~~~~~~~
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Sep 9, 2014
  1. http_parser: Follow RFC-7230 Sec 3.2.4

    Jeff Pinner committed with indutny Aug 20, 2014
    RFC-7230 Sec 3.2.4 expressly forbids line-folding in header
    field-names.
    
    This change no longer allows obsolete line-folding between the
    header field-name and the colon. If HTTP_PARSER_STRICT is unset,
    the parser still allows space characters.
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  2. Docs fix

    marcomorain committed with indutny Sep 8, 2014
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Aug 24, 2014
  1. doc: add very basic docs for `http_parser_execute`

    mmalecki committed with indutny Aug 14, 2014
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Aug 22, 2014
  1. header: typo fix in a comment

    laggyluke committed with indutny Aug 21, 2014
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Aug 5, 2014
  1. src: fix clang warning

    alagoutte committed with indutny Aug 4, 2014
    Fix http_parser.c:2147:3: warning: Value stored to 'uf' is never
    read found by Clang Analyser.
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Jun 27, 2014
  1. Added support for MKCALENDAR

    helje5 committed with indutny Jun 24, 2014
    Signed-off-by: Fedor Indutny <fedor@indutny.com>