]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: payload: always report a boolean from req.ssl_ec_ext
authorWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 09:23:40 +0000 (11:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 30 Sep 2026 14:11:24 +0000 (16:11 +0200)
commitc3c0abc6554517d93eb2a88fb532dfe5818ada0b
tree6991e5c79fed63b035f104c3569c89efa74d1c4e
parente32245e6282ba5c49adb9ee5f7d1376979fa3992
BUG/MINOR: payload: always report a boolean from req.ssl_ec_ext

req.ssl_ec_ext is documented to return "a boolean identifying if client
sent the Supported Elliptic Curves Extension", but like a few other such
sample fetch functions, it fails to return false and incorrectly returns
a fetch failure instead. It must properly return false when the hello
parses correctly but doesn't have the EC extension instead of making the
sample fetch fail as if the hello was unparsable.

The bug was in the initial version in 1.6-dev3 with commit 5fc7d7e8ce
("MINOR: Add sample fetch to detect Supported Elliptic Curves Extension"),
so this fix can be backported to all stable branches.
src/payload.c