]> git.kaiwu.me - haproxy.git/commit
MINOR: http-ana: add a transaction flag for requests forbidding storage
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 21 Oct 2026 09:04:27 +0000 (09:04 +0000)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 27 Nov 2026 15:50:22 +0000 (16:50 +0100)
commit433c7916358bdcec81f8936b0c244aaf73af410f
tree549129a65cf3f7a4184767379e8252b77355d3fc
parent6abaa7ca517e969afb40bcf3f74375d2d8afb479
MINOR: http-ana: add a transaction flag for requests forbidding storage

The new TX_CACHE_NOSTORE flag will be set on transactions whose request
carries a "Cache-Control: no-store" directive, which forbids caches from
storing the response (RFC 9111#5.2.1.5). It is needed by the next fix,
since the request's directives are not available anymore when the
response is checked. The flag is also reported by the flags decoding
helper.

This patch is needed by the next fix which may be backported.
include/haproxy/http_ana-t.h