DOC: config: Fix description of options about HTTP connection modes
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 20 Feb 2023 16:09:34 +0000 (17:09 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 21 Feb 2023 10:44:55 +0000 (11:44 +0100)
commit85523a02124f2b9dec7473e5f9f56cc9703be5c0
tree62d894d4e5aa745a4ac49700a6d4f7f45054934e
parenta62201df5a45f39be67f33d0ba4fc22fb3ce73b0
DOC: config: Fix description of options about HTTP connection modes

Since the HTX, the decription of options about HTTP connection modes is
wrong. In fact, it is worst, all the documentation about HTTP connection
mode is wrong. But only options will be updated for now to be backported.

So, documentation of "option httpclose", "option "http-keep-alive", "option
http-server-close" and "option "http-pretend-keepalive" was reviewed. First,
it is specify these options only concern HTT/1.x connections. Then, the
descriptions were updated to reflect the HTX implementation.

The main changes concerns the fact that server connections are no longer
attached to client connections. The connection mode on one side does not
affect the connection mode on the other side. It is especially true for
t"option httpclose". For client connections, only the frontend option is
considered and for server ones, both frontend and backend options are
considered.

This patch should be backported as far as 2.2.
doc/configuration.txt