commit | 55e58f23348c2f9fa918e7370c0ddb98b307ee28 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon May 02 16:05:10 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon May 02 16:39:22 2016 +0200 |
tree | 03ed6b89d901fbce1837a72a949807dda0b53505 | |
parent | f51d03cf14e68019ab776d4ab2365b15711d85f9 [diff] |
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.