]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h2: use timeout http-request as a fallback for http-keep-alive
authorWilly Tarreau <w@1wt.eu>
Wed, 13 Apr 2022 15:40:28 +0000 (17:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 14 Apr 2022 09:45:36 +0000 (11:45 +0200)
commit86b08a3e3eb62d6642604846db3e40db37b91b16
treeb0ea0233a333f8bb92dc4e6bf26e2f026b8b8ea4
parent6ff91e20232821e8b59bb0bbd36ea7e851b42566
BUG/MINOR: mux-h2: use timeout http-request as a fallback for http-keep-alive

The doc states that timeout http-keep-alive is not set, timeout http-request
is used instead. As implemented in commit  15a4733d5 ("BUG/MEDIUM: mux-h2:
make use of http-request and keep-alive timeouts"), we use http-keep-alive
unconditionally between requests, with a fallback on client/server. Let's
make sure http-request is always used as a fallback for http-keep-alive
first.

This needs to be backported wherever the commit above is backported.

Thanks to Christian Ruppert for spotting this.
src/mux_h2.c