]> git.kaiwu.me - haproxy.git/commit
MINOR: cache: factor cache_extract_link_hints out of cache_extract_hints
authorMaxime Henrion <mhenrion@haproxy.com>
Tue, 30 Jun 2026 15:32:50 +0000 (11:32 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2026 14:42:35 +0000 (16:42 +0200)
commit39233e0a673e5cd12dec4c2fe90efcdce038aa05
treed7d0a6c8e94a535850e582d8fd017d7233c3a2d4
parent66d5d6a54b909e603795d0cd7a0729dc42b80579
MINOR: cache: factor cache_extract_link_hints out of cache_extract_hints

Move the per-Link-value processing into a new cache_extract_link_hints()
helper. cache_extract_hints() continues to walk the cached row's HDR
blocks and now invokes the helper once per Link header it finds.

No behaviour change. This prepares the helper for reuse by an upcoming
hints-only storage path that extracts Link headers directly from the
live response HTX rather than from a cached row.
src/cache.c