MINOR: channel: Don't test CF_READ_NULL while CF_SHUTR is enough
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Dec 2022 06:53:18 +0000 (07:53 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 9 Jan 2023 17:41:08 +0000 (18:41 +0100)
commit446d8037ce54399c02bf344643c9a700accea0ba
treed84ef8bc48dfbd15b995104a606026df51895f3b
parent14419ebf2b8b9e638d804cec881003eb943d0eae
MINOR: channel: Don't test CF_READ_NULL while CF_SHUTR is enough

If CF_READ_NULL flag is set on a channel, it implies a shutdown for reads
was performed and CF_SHUTR is also set on this channel. Thus, there is no
reason to test is any of these flags is present, testing CF_SHUTR is enough.
src/cli.c
src/http_ana.c