Le 29/11/2019 à 10:46, Robert Samuel Newson a écrit :
Hi,
I've discovered it is possible to make haproxy (2.0.9 and 2.0.10, at least) produce duplicate
headers using the set-header directive (which is defined as "This does the same as
"http-request add-header" except that the header name is first removed if it
existed.").
This only happens when HTX is enabled. The essential part is that the variable
substitution uses values that are not set.
Hi,
There is indeed a bug and a pretty obvious one. The function looking for a
header fails if the value is empty while it should not. This bug should be fixed
now in all HTX versions (2.2-dev, 2.1, 2.0 and 1.9).
Thanks,
--
Christopher Faulet