]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: checks: Support HTTP/2 version (without '.0') for http-check send rules
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 07:10:19 +0000 (09:10 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 28 Apr 2020 07:24:49 +0000 (09:24 +0200)
commit8bf8fda49b953e8e9f978e596a1a9a3eb07fc97c
treee74e22ffb6cb971106a1e036eb1b591c23974a97
parente50b7dc2e0a541035e1d379278dd2ca40a7373fe
MINOR: checks: Support HTTP/2 version (without '.0') for http-check send rules

The version is partially parsed to set the flag HTX_SL_F_VER_11 on the HTX
message. But exactly 8 chars is expected. So if "HTTP/2" is specified, the flag
is not set. Thus, the version parsing has been updated to handle "HTTP/2" and
"HTTP/2.0" the same way.
src/checks.c