]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: conn_stream: Add a flag to notify the mux it must respect the reserve
authorChristopher Faulet <cfaulet@haproxy.com>
Wed, 17 Oct 2018 09:08:23 +0000 (11:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 20:45:48 +0000 (21:45 +0100)
commit72d9125efb70f84cb3fdc3d67555a7878dbf84fb
treee4182d3e5508f23178be01c243e77706eb4cb2bc
parentf4eb75d177e64a53c1bad2d9f5dbe7217d0c4c2b
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.
include/types/connection.h
src/stream_interface.c