]> git.ipfire.org Git - thirdparty/squid.git/commit
Make HttpParser parse version directly into AnyP::ProtocolVersion object
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 23 Dec 2013 11:21:48 +0000 (03:21 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 23 Dec 2013 11:21:48 +0000 (03:21 -0800)
commit5aedd08dc62e0b54f2d8ebec365e5ef86d728bbc
tree6f4e3925c1939969730b86c96fcf06f9e068fc7f
parent5bc8fb2cda7d38c1ee80ed6d8edb021791484faa
Make HttpParser parse version directly into AnyP::ProtocolVersion object

There appears to be no need for the protocol version object to be outside
the parser. We can simplify the processing code by parsing directly into
the object from the I/O buffer.

TODO: allow parsing of non-HTTP protocol labels.
src/HttpMsg.h
src/Makefile.am
src/client_side.cc
src/http/Http1Parser.cc
src/http/Http1Parser.h
src/tests/testHttpParser.cc