mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-27 00:31:22 +02:00
The analysis of cs_rx_endp_more() showed that the purpose is for a stream endpoint to inform the connector that it's ready to deliver more data to that one, and conversely cs_rx_endp_done() that it's done delivering data so it should not be bothered again for this. This was modified two ways: - the operation is no longer performed on the connector but on the endpoint so that there is no more doubt when reading applet code about what this rx refers to; it's the endpoint that has more or no more data. - an applet implementation is also provided and mostly used from applet code since it saves the caller from having to access the endpoint descriptor. It's visible that the flag ought to be inverted because some places have to set it by default for no reason.