]> git.kaiwu.me - haproxy.git/commit
MINOR: http: factor 103 emission into start/end helpers
authorMaxime Henrion <mhenrion@haproxy.com>
Fri, 26 Jun 2026 20:43:12 +0000 (16:43 -0400)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Jul 2026 14:42:35 +0000 (16:42 +0200)
commit7f3c30d96c3b5f94750b2f96a810f34feef469de
tree90f1310dba3c01946cf3c3d28b20836872d6f55f
parente1b02eba9b2e3f0923d60b87e168d95a601af083
MINOR: http: factor 103 emission into start/end helpers

Pull the 103 emission code out of http_action_early_hint() and split
it into http_early_hint_start() (open the response and return the htx)
and http_early_hint_end() (close with EOH and forward). The split
shape lets callers add their own Link headers in between, which is
what the HTTP cache will need when it gets support for sending 103
Early Hints from cached responses.
include/haproxy/http_ana.h
src/http_act.c
src/http_ana.c