]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: conn-stream: Use endpoint error instead of conn-stream error
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 30 Mar 2022 08:47:32 +0000 (10:47 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 13 Apr 2022 13:10:14 +0000 (15:10 +0200)
commit6cd56d5a69060e56c92790a60ec83fa3c165517d
tree9025de65b52805c34b7a4ab4825beeeca58eaa25
parentaf642df3b843e94c0a96d88d862e2b8ca6b44d3b
MEDIUM: conn-stream: Use endpoint error instead of conn-stream error

Instead of relying on the conn-stream error, via CS_FL_ERR flags, we now
directly use the error at the endpoint level with the flag CS_EP_ERROR. It
should be safe to do so. But we must be careful because it is still possible
that an error is processed too early. Anyway, a conn-stream has always a
valid endpoint, maybe detached from any endpoint, but valid.
dev/flags/flags.c
include/haproxy/conn_stream-t.h
src/backend.c
src/cli.c
src/http_ana.c
src/stream.c
src/stream_interface.c