MINOR: channel/applets: Stop to test CF_WRITE_ERROR flag if CF_SHUTW is enough
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 4 Jan 2023 13:11:10 +0000 (14:11 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 9 Jan 2023 17:41:08 +0000 (18:41 +0100)
commitda89e9b95b6c9e62cbdea2586c6ae2ddee96c4e4
tree38f027222777a30c02952884b838f4dcef8c679a
parent4b490b75175585e787e7d83fabc79cd7825d9c1e
MINOR: channel/applets: Stop to test CF_WRITE_ERROR flag if CF_SHUTW is enough

In applets, we stop processing when a write error (CF_WRITE_ERROR) or a shutdown
for writes (CF_SHUTW) is detected. However, any write error leads to an
immediate shutdown for writes. Thus, it is enough to only test if CF_SHUTW is
set.
15 files changed:
include/haproxy/channel.h
src/activity.c
src/cli.c
src/debug.c
src/dns.c
src/map.c
src/mworker.c
src/proxy.c
src/ring.c
src/sink.c
src/ssl_ckch.c
src/ssl_crtlist.c
src/stconn.c
src/stick_table.c
src/stream.c