]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cache: Add a pointer on the cache in the cache applet context
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Apr 2025 13:48:57 +0000 (15:48 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 24 Apr 2025 13:48:59 +0000 (15:48 +0200)
commite05074f632e017bb424cb05d20246adbc63bccb5
treefbc704b24c67c9d360e1483440f6078cb3f2af6f
parentb734d7c156fbd00d83392b8b394a15c48555d5dc
MINOR: cache: Add a pointer on the cache in the cache applet context

Thanks to this change, when a response is delivered from the cache, it is no
longer necessary to get the cache filter configuration from the http
"use-cache" rule saved in the appctx to get the currently used cache. It was
a bit complex to get an info that can be directly and naturally stored in
the cache applet context.
src/cache.c