]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: stconn: rename cs_rx_chan_{blk,rdy} to sc_{wont,will}_read()
authorWilly Tarreau <w@1wt.eu>
Wed, 25 May 2022 05:35:53 +0000 (07:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 May 2022 17:33:35 +0000 (19:33 +0200)
commit9512ab6e00ef98f9028bf89830d1984a810fd5d7
treed3f853e782c83fd560a74e703f1a6ac120435d9d
parent99615ed85d9d277c09fe783cca7c92682eeded82
CLEANUP: stconn: rename cs_rx_chan_{blk,rdy} to sc_{wont,will}_read()

These functions were used by the channel to inform the lower layer
whether reading was acceptable or not. Usually this directly mimmicks
the CF_DONT_READ flag from the channel, which may be set when it's
desired not to buffer incoming data that will not be processed, or
that the buffer wants to be flushed before starting to read again,
or that bandwidth limiting might be enforced, etc. It's always a
policy reason, not a purely resource-based one.
include/haproxy/conn_stream.h
src/conn_stream.c
src/http_client.c