]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: channel: Use CF_READ_EVENT instead of CF_READ_PARTIAL
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Dec 2022 07:28:55 +0000 (08:28 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 9 Jan 2023 17:41:08 +0000 (18:41 +0100)
commit285f7616ee1b038aa1ec40b9568a954e9a61d1af
tree310fabebe5d9d9f0d231ffe924b5002eb60cc96e
parentb96f2aa38032e806051b1b41e61eb132c930df8e
MEDIUM: channel: Use CF_READ_EVENT instead of CF_READ_PARTIAL

CF_READ_PARTIAL flag is now merged with CF_READ_EVENT. It means
CF_READ_EVENT is set when a read0 is received (formely CF_READ_NULL) or when
data are received (formely CF_READ_ACTIVITY).

There is nothing special here, except conditions to wake the stream up in
sc_notify(). Indeed, the test was a bit changed to reflect recent
change. read0 event is now formalized by (CF_READ_EVENT + CF_SHUTR).
include/haproxy/channel-t.h
include/haproxy/channel.h
src/backend.c
src/channel.c
src/stconn.c
src/stream.c