]> 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)
committerFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Wed, 11 Oct 2023 13:51:41 +0000 (15:51 +0200)
commit72dab5b5feb39eb1da3e29a5542d7688e935525a
tree7d330a1223e0d261095a549fed68258ba160673a
parenta27bf4b84da23594150c7a86a23435df0b35b988
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