]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: http-act: set-status() must check the response message, not the request
authorWilly Tarreau <w@1wt.eu>
Mon, 11 May 2026 13:01:30 +0000 (15:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 May 2026 14:04:19 +0000 (16:04 +0200)
commitcbdbc96e363977ff5b8afc7b25307421ee9446ff
tree9552b658c1d13258b8b0e50a6ca03c1fb67d792c
parent8941cc5f6db3b86ef68d88f7305acc82069887b4
BUG/MINOR: http-act: set-status() must check the response message, not the request

action_http_set_status() checks for soft rewrite on the request message
by mistake instead of the response message. This could possibly cause a
rewrite failure when soft rewrite is enabled since it will not be seen
there, though the impact is extremely low. It can be backported.
src/http_act.c