]> git.ipfire.org Git - thirdparty/squid.git/commit - src/HttpHeader.h
Removed the HttpHeaderEntry constructor that created a "blank" object.
authorwessels <>
Wed, 10 May 2006 03:48:51 +0000 (03:48 +0000)
committerwessels <>
Wed, 10 May 2006 03:48:51 +0000 (03:48 +0000)
commitcdce6c61485ea0b64866c15562df73f98f222e55
tree198be79fb7a17853ecaefa8e50cbf9a54dcdf1fc
parentbf3bf0cddb6b7626b8d111647f4bd3548dbec179
Removed the HttpHeaderEntry constructor that created a "blank" object.
It created problems with the parse() method because id had to be set
to something, but none of the http_hdr_type values were really appropriate,
not to mention they either triggered assertions or confused the statistics.

Now parse() is a static method that calls new HttpHeaderEntry after
parsing has been successful.
src/HttpHeader.cc
src/HttpHeader.h