mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-03 20:39:41 -05:00
This patch adds HXT-aware versions of the functions c_data(), ci_data() and c_empty(). channel_data() function returns the amount of data in the channel, channel_input_data() returns the amount of input data and channel_empty() returns true if the channel's buffer is empty. These functions handles HTX buffers. In addition, channel_data_limit() function, still HTX-aware, can be used to get the maximum absolute amount of data that can be copied in a buffer, independently on data already present in the buffer. |
||
|---|---|---|
| .. | ||
| haproxy | ||
| import | ||
| make | ||