]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: channel: add new function channel_congested()
authorWilly Tarreau <w@1wt.eu>
Mon, 2 May 2016 14:05:10 +0000 (16:05 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 2 May 2016 14:39:22 +0000 (16:39 +0200)
commit55e58f23348c2f9fa918e7370c0ddb98b307ee28
tree03ed6b89d901fbce1837a72a949807dda0b53505
parentf51d03cf14e68019ab776d4ab2365b15711d85f9
MINOR: channel: add new function channel_congested()

This function returns non-zero if the channel is congested with data in
transit waiting for leaving, indicating to the caller that it should wait
for the reserve to be released before starting to process new data in
case it needs the ability to append data. This is meant to be used while
waiting for a clean response buffer before processing a request.
include/proto/channel.h