]> git.ipfire.org Git - thirdparty/squid.git/commit
Make URI request-line field accessor for Http1Parser
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 31 Dec 2013 15:51:51 +0000 (07:51 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 31 Dec 2013 15:51:51 +0000 (07:51 -0800)
commit5f3cc9a2cc100e836a8754c112acf081ed1927c3
tree3bc2e2645caa434766293990eb90dc294477969f
parenteb1bd364dee8c99f3e41182a9a5d8074ef127cf8
Make URI request-line field accessor for Http1Parser

Also, convert the client-side parseHttpRequest() sub-functions to make
use of it. Removing several strlen() and a memory allocation.
src/client_side.cc
src/http/Http1Parser.cc
src/http/Http1Parser.h