]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Fix handling of 408-Request-Time-Out
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Nov 2022 15:58:22 +0000 (16:58 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 23 Nov 2022 15:58:23 +0000 (16:58 +0100)
commit227424450c874cd17fbf81af487c2f2775668877
tree70b3aa357bd20c150a77a7de2df5f778c3557a62
parent4427ea7f049760725141bc710511c1a4c8bf59b4
BUG/MINOR: mux-h1: Fix handling of 408-Request-Time-Out

When a timeout is detected waiting for the request, a 408-Request-Time-Out
response is sent. However, an error was introduced by commit 6858d76cd3
("BUG/MINOR: mux-h1: Obey dontlognull option for empty requests"). Instead
of inhibiting the log message, the option was stopping the error sending.

Of course, we must do the opposite.

This patch must be backported as far as 2.4.
src/mux_h1.c