]> git.ipfire.org Git - thirdparty/squid.git/commit
Make HttpParser parse method directly into HttpRequestMethod object
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 28 Dec 2013 01:03:29 +0000 (17:03 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 28 Dec 2013 01:03:29 +0000 (17:03 -0800)
commit274bd5ad905e73241293a6d662226a4686b74995
tree1a717d5100b278cb69503f185f526211e593a7fa
parentfb158e2eee624610a6c2e2e59a4526cf159133f9
Make HttpParser parse method directly into HttpRequestMethod object

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

TODO:
* fix parsing of whitespace prefix in accordance with HTTPbis specs.
* make parser incremental to end of method
src/client_side.cc
src/http/Http1Parser.cc
src/http/Http1Parser.h
src/http/RequestMethod.h
src/tests/testHttp1Parser.cc