deps/http-parser/http_parser.h

Branch


Log

Author Commit Date CI Message
Jacques Germishuys 66d15954 2014-08-05T19:51:29 Solaris doesn't necessarily have stdint.h, use inttypes.h
Vicent Marti 64ac9548 2012-11-12T15:42:03 Bump the builtin http-parser
Vicent Marti dd3fd682 2011-10-05T13:44:27 msvc: Remove superfluous includes
Vicent Marti 72bdfdbc 2011-09-29T15:24:41 http-parser: Disable MSVC warnings locally
Carlos Martín Nieto 0812caae 2011-09-28T23:54:09 Resync with upstream http-parser
Vicent Marti d215cf24 2011-09-28T20:21:48 http-parser: More type changes
Vicent Marti dc5c8781 2011-09-27T14:53:57 http-parser: Do not use bitfields Bitfields suck. And if you make them with non-int types, they suck in a non-standards compliant way. Like sucking sideways or something. This commit removes all bitfields in the `http_parser` struct, and replaces them with the minimal type needed to contain their values. Note that the fields in the struct have been reordered so they can be packed with 4-byte alignment. This saves both memory on the parser (because non-int bitfields get expanded to 4byte in most compilers anyway) and time (because the fields are now properly aligned and the compiler doesn't need to generate bit-level ops to access them).
Carlos Martín Nieto b8a8191f 2011-09-05T01:13:46 http: add http-parser The code is under the MIT lincense Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>