]> git.kaiwu.me - haproxy.git/commit
CLEANUP: stconn: rename cs_rx_room_{blk,rdy} to sc_{need,have}_room()
authorWilly Tarreau <w@1wt.eu>
Wed, 25 May 2022 05:29:36 +0000 (07:29 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 17:33:35 +0000 (19:33 +0200)
commit99615ed85d9d277c09fe783cca7c92682eeded82
tree9c0126a313790ef6ed3d2b59c4c86ee0b1e0b41a
parentb73262fc85d249de90fa8960e5fe7df31b5fe38e
CLEANUP: stconn: rename cs_rx_room_{blk,rdy} to sc_{need,have}_room()

The new name mor eclearly indicates that a stream connector cannot make
any more progress because it needs room in the channel buffer, or that
it may be unblocked because the buffer now has more room available. The
testing function is sc_waiting_room(). This is mostly used by applets.
Note that the flags will change soon.
16 files changed:
addons/promex/service-prometheus.c
include/haproxy/conn_stream.h
src/applet.c
src/cache.c
src/cli.c
src/conn_stream.c
src/dns.c
src/flt_spoe.c
src/hlua.c
src/http_ana.c
src/http_client.c
src/peers.c
src/proxy.c
src/resolvers.c
src/stats.c
src/tcp_rules.c