BUG/MINOR: stream: Fix test on SE_FL_ERROR on the wrong entity
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 12 Apr 2023 12:20:36 +0000 (14:20 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Apr 2023 10:13:09 +0000 (12:13 +0200)
commit925279ccf241200d219b84e3e00124d677925360
tree018635eb337cb6e81327438cb3b7dde96e0f55ef
parentea5a5e6feba75632d0140d5c41b5a74ea00ea8cf
BUG/MINOR: stream: Fix test on SE_FL_ERROR on the wrong entity

There is a bug at begining of process_stream(). The SE_FL_ERROR flag is
tested against backend stream-connector's flags instead of its SE
descriptor's flags. It is an old typo, introduced when the stream-interfaces
were replaced by the conn-streams.

This patch must be backported as far as 2.6.
src/stream.c