]> git.kaiwu.me - haproxy.git/commit
MEDIUM: http-ana: Use the version of the opposite side for internal messages
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 25 Feb 2026 15:29:26 +0000 (16:29 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 5 Mar 2026 14:34:46 +0000 (15:34 +0100)
commit4939f18ff7e984f3861135a2776c94ba967b2226
tree833a3072112651c47f34a60e88d7538daa231781
parentb2ba3c666202706fd2602f1bda4e4067034d04cc
MEDIUM: http-ana: Use the version of the opposite side for internal messages

When the response is send by HAProxy, from a applet or for the analyzers,
The request version is used for the response. The main reason is that there
is not real version for the response when this happens. "HTTP/1.1" is used,
but it is in fact just an HTX response. So the version of the request is
used.

In the same manner, when the request is sent from an applet (httpclient),
the response version is used, once available.

The purpose of this change is to return the most accurate version from the
user point of view.
src/http_ana.c