Permalink
Commits on Feb 7, 2017
  1. Merge pull request #33 from deweerdt/hard-coded-parse-int

    kazuho committed Feb 7, 2017
    replace parse_int with specialized parsing macros
Commits on Feb 6, 2017
  1. replace parse_int with specialized parsing macros

    deweerdt committed Feb 6, 2017
    We use `parse_int` to either parse the HTTP minor version or the
    status code. These are always either one digit or three respectively
    (see `HTTP-version` and `status-code` in RFC 7230).
    `parse_int` OTOH, will consume as much digits as available, potentially
    leading to an integer overflow.
    
    This patch replaces `parse_int` with specialized macros that parse one
    or three characters. It has the nice side effect of removing branches
    from the code (from bench.c compiled with -O3, `perf --repeat 5` runs):
    
    before:
        12,980,990,009      branches                  # 2287.662 M/sec                    ( +-  0.00% )
    
    after:
        12,881,008,681      branches                  # 2271.740 M/sec                    ( +-  0.00% )
Commits on Feb 2, 2017
  1. Merge pull request #32 from Ignas2526/patch-1

    kazuho committed Feb 2, 2017
    Fix typo
Commits on Feb 1, 2017
  1. Fix typo

    Ignas2526 committed Feb 1, 2017
    Fix typo in minor version test
Commits on Jan 23, 2017
  1. clang-format

    kazuho committed Jan 23, 2017
Commits on Oct 28, 2016
  1. Merge pull request #29 from StephanDollberg/stephandollberg/make-see-…

    kazuho committed Oct 28, 2016
    …compile-with-g++
    
    make SSE version compile with g++
  2. Merge pull request #28 from StephanDollberg/stephandollberg/fix-test-…

    kazuho committed Oct 28, 2016
    …mem-leakage
    
    Fix memory leaks in tests
Commits on Oct 26, 2016
Commits on Sep 16, 2016
  1. Merge pull request #27 from edge/patch-1

    kazuho committed Sep 16, 2016
    use syntax highlighting in README.md
Commits on Aug 29, 2016
  1. preserve order of `#include`

    kazuho committed Aug 29, 2016
Commits on Aug 26, 2016
  1. Merge pull request #25 from h2o/kazuho/chunked-decoder-in-data

    kazuho committed Aug 26, 2016
    add function to detect  connection close mid-chunk
  2. s/phr_decoder_in_data/phr_decode_chunked_is_in_data/, to designated t…

    kazuho committed Aug 26, 2016
    …hat the function is part of the chunked decoder
  3. add tests (amends #24)

    kazuho committed Aug 26, 2016
Commits on Aug 25, 2016
  1. Merge pull request #24 from h2o/kazuho/strict-header-name-validation

    kazuho committed Aug 25, 2016
    stricter validation of header names
  2. add test

    kazuho committed Aug 25, 2016
  3. zero-length header names are prohibited

    kazuho committed Aug 25, 2016
  4. header names containing SP have become invalid

    kazuho committed Aug 25, 2016
Commits on Aug 22, 2016
  1. stricter validation of header names (follows h2o/h2o#974, validation …

    kazuho committed Aug 22, 2016
    …rule matches that of Firefox (see `nsHttp::IsValidToken`).
Commits on Oct 5, 2015
  1. Merge pull request #20 from h2o/kazuho/issues/19

    kazuho committed Oct 5, 2015
    suppress unused-parameter warning when SSE is not used
  2. suppress unused-parameter warning when SSE is not used

    kazuho committed Oct 5, 2015
Commits on Sep 15, 2015
  1. Merge pull request #18 from tokuhirom/c89-compliant

    kazuho committed Sep 15, 2015
    Declare variables at block head(improve ISO C89 compatibility).
Commits on May 20, 2015
Commits on Apr 19, 2015
  1. Merge pull request #16 from KeenS/master

    kazuho committed Apr 19, 2015
    Calculate length of correct string
Commits on Apr 18, 2015
Commits on Jan 4, 2015
  1. Merge pull request #13 from thequux/master

    kazuho committed Jan 4, 2015
    Added Jamfile for use with Boost.Build
Commits on Dec 27, 2014
  1. Merge pull request #12 from dacci/msvc

    kazuho committed Dec 27, 2014
    Makes it compatible with VC++ compiler.
Commits on Dec 26, 2014
  1. Merge pull request #11 from NicolasT/patch-1

    kazuho committed Dec 26, 2014
    Fix docstring typo
Commits on Dec 25, 2014
  1. Fix docstring typo

    NicolasT committed Dec 25, 2014