]> git.ipfire.org Git - thirdparty/squid.git/commit - src/http/one/ResponseParser.cc
Fix Http1::ResponseParser
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 12 Nov 2014 11:35:18 +0000 (03:35 -0800)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 12 Nov 2014 11:35:18 +0000 (03:35 -0800)
commitdb6a29e10ac30b6db47a071eba88e8d522c75038
tree33d1d641b019d9b934202c5e25a2ca8ca0b048fb
parent395a814a5b0c68847ebdfc70f8a30573b4fea8d6
Fix Http1::ResponseParser

Fix detection of status code in status-line. The Tokenizer::prefix()
method with byte-limited scan needs to be passed a limit large enough to
include the terminator byte for the field.

Add missing logic to transform HTTP/0.9 response syntax to HTTP/1.1
mime header block.

Add additional debugging messages to trace parse operations.
src/http/one/ResponseParser.cc
src/http/one/forward.h