]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: h3: always initialize <hdng_prf> to remove any ambiguity
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 2 Dec 2026 15:19:32 +0000 (16:19 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 3 Dec 2026 10:49:20 +0000 (11:49 +0100)
commita8ad85bb70f3224bca8e1debdf5c850d99c27e3c
tree866911dfb0bb204efc4a414dba5b48128eeabd5b
parent1aaceddfbe1370c3a3af31ff618f1c657be7657c
BUG/MINOR: h3: always initialize <hdng_prf> to remove any ambiguity

This patch ensures that the h3c connection member <hdng_prf> is always
initialized to NULL.

This is similar to the previous patch which dealt with the
<prx_counters> member: the current code is ambiguous for a backend
connection whose target could be either a server or a proxy instance.
This is no longer possible since the removal of dispatch and option
transparent modes, but the NULL initialization is kept as a defensive
measure.

This should be backported up to 3.5.
src/h3.c