]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: stconn: Add a flag to ack endpoint errors at SC level
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Apr 2023 08:42:08 +0000 (10:42 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Apr 2023 15:05:53 +0000 (17:05 +0200)
commita1d14a7c7f3ec8abcabc0b29e1f30afb0c7ec417
tree94705eebbb20877875a93dcbcfcb4049ad1f358d
parent638fe6ab0fc3da02e0d0e719d6563fa677c620a2
MINOR: stconn: Add a flag to ack endpoint errors at SC level

The flag SC_FL_ERROR is added to ack errors on the endpoint. When
SE_FL_ERROR flag is detected on the SE descriptor, the corresponding is set
on the SC. Idea is to avoid, as far as possible, to manipulated the SE
descriptor in upper layers and know when an error in the endpoint is handled
by the SC.

For now, this flag is only set and cleared but never tested.
include/haproxy/stconn-t.h
src/cli.c
src/http_ana.c
src/stconn.c