REORG: channel: Rename CF_READ_NULL to CF_READ_EVENT
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Dec 2022 07:08:15 +0000 (08:08 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 9 Jan 2023 17:41:08 +0000 (18:41 +0100)
commit6e1bbc446b74744129ec3dabd70b2b37eacf7bee
tree8fa27486a87fcf7b449b01f4a1f294e4755f65f8
parent446d8037ce54399c02bf344643c9a700accea0ba
REORG: channel: Rename CF_READ_NULL to CF_READ_EVENT

CF_READ_NULL flag is not really useful and used. It is a transient event
used to wakeup the stream. As we will see, all read events on a channel may
be resumed to only one and are all used to wake up the stream.

In this patch, we introduce CF_READ_EVENT flag as a replacement to
CF_READ_NULL. There is no breaking change for now, it is just a
rename. Gradually, other read events will be merged with this one.
15 files changed:
addons/promex/service-prometheus.c
include/haproxy/channel-t.h
src/cache.c
src/cli.c
src/dns.c
src/flt_spoe.c
src/hlua.c
src/http_ana.c
src/log.c
src/peers.c
src/sink.c
src/ssl_sock.c
src/stats.c
src/stconn.c
src/stream.c