MINOR: global: Add an option to disable the data fast-forward
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 14 Feb 2023 14:37:14 +0000 (15:37 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 17 Feb 2023 09:17:02 +0000 (10:17 +0100)
commitd4eaa8af6b92b5d98b87a5c713c5df4f92be806d
treebad0227a9858d7b9c745e5447321ec07a404b699
parent407210a34d781f8249504557c371c170cb34f93e
MINOR: global: Add an option to disable the data fast-forward

The new global option "tune.fast-forward" can be set to "off" to disable the
data fast-forward. It is an debug option, thus it is internally marked as
experimental. The directive "expose-experimental-directives" must be set
first to use this one. By default, the data fast-forward is enable.

It could be usefull to force to wake the stream up when data are
received. To be sure, evreything works fine in this case. The data
fast-forward is an optim. It must work without it. But some code may rely on
the fact the stream will not be woken up. With this option, it is possible
to spot some hidden bugs.
doc/configuration.txt
include/haproxy/global-t.h
src/cfgparse-global.c
src/http_ana.c
src/stream.c