BUG/MINOR: mux-fcgi: Expose SERVER_SOFTWARE parameter by default
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 11 Jun 2021 11:34:42 +0000 (13:34 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 17 Jun 2021 16:09:45 +0000 (18:09 +0200)
commit7e0d0d8815ca60fbd5d54bdcb379e5b79de02f51
treeaa1613e5a82c5d9aa8bcab4daa819a920d6d02ee
parente3d6625c0cf78c79c6cdf524f3e3356e03aec4f1
BUG/MINOR: mux-fcgi: Expose SERVER_SOFTWARE parameter by default

As specified in the RFC3875 (section 4.1.17), this parameter must be set to
the name and version of the information server software making the CGI
request. Thus, it is now added to the default parameters defined by
HAProxy. It is set to the string "HAProxy $version".

This patch should fix the issue #1285 and must be backported as far as 2.2.

(cherry picked from commit 5cd0e528cf2bed6eb1f79582ef89cf1667337e46)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit b2a50298b1f6f46c943b77685142d59d3e69e193)
[wt: minor ctx adjustments]
Signed-off-by: Willy Tarreau <w@1wt.eu>
doc/configuration.txt
src/mux_fcgi.c