commit | 72d9125efb70f84cb3fdc3d67555a7878dbf84fb | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Wed Oct 17 11:08:23 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 18 21:45:48 2018 +0100 |
tree | e4182d3e5508f23178be01c243e77706eb4cb2bc | |
parent | f4eb75d177e64a53c1bad2d9f5dbe7217d0c4c2b [diff] |
MINOR: conn_stream: Add a flag to notify the mux it must respect the reserve By setting the flag CO_RFL_KEEP_RSV when calling mux->rcv_buf, the stream-interface notifies the mux it must keep some space to preserve the buffer's reserve. This flag is only useful for multiplexers handling structured data, because in such case, the stream-interface cannot know the real amount of free space in the channel's buffer.