]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: conn_stream: Add a flag to notify the mux it should flush its buffers
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 11 Oct 2018 13:56:04 +0000 (15:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 18 Nov 2018 20:45:48 +0000 (21:45 +0100)
commitc6618d68350ecc04590accf0e712185d3572119a
tree77811d0ce032d5999b56d75eb991862bc016fb55
parent7c6f8b146de309e14f0b7ff9e680794683498c54
MINOR: conn_stream: Add a flag to notify the mux it should flush its buffers

By setting the flag CO_RFL_BUF_FLUSH when calling mux->rcv_buf, the
stream-interface notifies the mux it should flush its buffers without reading
more data. This flag is set when the SI want to use the kernel TCP splicing to
forward data. Of course, the mux can respect it or not, depending on its
state. It's just an information.
include/types/connection.h
src/stream_interface.c