]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http-fetch: Don't block HTTP sample fetch eval in HTTP_MSG_ERROR state
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Jan 2023 09:58:20 +0000 (10:58 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 13 Jan 2023 09:58:21 +0000 (10:58 +0100)
commit5aab0a30c5090f54b3e797cb1644b3215d9d6c3c
tree6165005b68ecda293ecf939940e7788eb2b87b9a
parentf0d80df6e089bd8b368b0742ee39f33f9c6f3230
BUG/MINOR: http-fetch: Don't block HTTP sample fetch eval in HTTP_MSG_ERROR state

It was inherited from the legacy HTTP mode, but the message parsing is
handled by the underlying mux now. Thus, if a message is in HTTP_MSG_ERROR
state, it is just an analysis error and not a parsing error. So there is no
reason to block the HTTP sample fetch evaluation in this case.

This patch could be backported in all stable versions (For the 2.0, only the
htx part must be updated).
src/http_fetch.c