]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG: MINOR: http: don't check http-request capture id when len is provided
authorCyril Bonté <cyril.bonte@free.fr>
Thu, 14 Dec 2017 21:44:41 +0000 (22:44 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 14 Dec 2017 21:46:27 +0000 (22:46 +0100)
commit9fc9e53763f0bda431879ceaef3968bf1f43509e
tree677d8ca646fa826c026d965b34175138874b15f6
parent3906d5739c1c2f24bedeffcd0664190f85896523
BUG: MINOR: http: don't check http-request capture id when len is provided

Randomly, haproxy could fail to start when a "http-request capture"
action is defined, without any change to the configuration. The issue
depends on the memory content, which may raise a fatal error like :
  unable to find capture id 'xxxx' referenced by http-request capture
rule

Commit fd608dd2 already prevents the condition to happen, but this one
should be included for completeness and to reclect the code on the
response side.

The issue was introduced recently by commit 29730ba5 and should only be
backported to haproxy 1.8.
src/proto_http.c