]> git.ipfire.org Git - thirdparty/squid.git/commit
Miss if a 304 update would exceed reply_header_max_size (#1420)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Mon, 17 Jul 2023 09:56:11 +0000 (09:56 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 18 Jul 2023 12:42:34 +0000 (12:42 +0000)
commit55e1c6e8870690e74628402e39512c00b8e23b35
tree5abc0222a4eecf5fe5e15b0434fd9e53dbb53c9b
parent230d44101b32f49466265b3c3dd7c9b9e6b96763
Miss if a 304 update would exceed reply_header_max_size (#1420)

Fetch the resource unconditionally when a 304 (Not Modified) response to
an internal cache revalidation request grows cached HTTP response
headers beyond the reply_header_max_size limit.
12 files changed:
src/HttpReply.cc
src/HttpReply.h
src/client_side_reply.cc
src/http/StatusLine.cc
src/http/StatusLine.h
src/peer_digest.cc
src/store.cc
src/store/Controller.cc
src/store/Controller.h
src/tests/stub_HttpReply.cc
src/tests/stub_libhttp.cc
src/tests/stub_libstore.cc