diff --git a/doc/configuration.txt b/doc/configuration.txt index 8aec5faae..2d169fd27 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -3996,16 +3996,14 @@ tune.comp.maxlevel Each stream using compression initializes the compression algorithm with this value. The default value is 1. -tune.disable-fast-forward [ EXPERIMENTAL ] +tune.disable-fast-forward Disables the data fast-forwarding. It is a mechanism to optimize the data forwarding by passing data directly from a side to the other one without waking the stream up. Thanks to this directive, it is possible to disable this optimization. Note it also disable any kernel tcp splicing but also the zero-copy forwarding. This command is not meant for regular use, it will generally only be suggested by developers along complex debugging - sessions. For this reason it is internally marked as experimental, meaning - that "expose-experimental-directives" must appear on a line before this - directive. + sessions. tune.disable-zero-copy-forwarding Globally disables the zero-copy forwarding of data. It is a mechanism to diff --git a/src/cfgparse-global.c b/src/cfgparse-global.c index b5a756d7a..79005384c 100644 --- a/src/cfgparse-global.c +++ b/src/cfgparse-global.c @@ -1473,12 +1473,6 @@ static int cfg_parse_global_tune_forward_opts(char **args, int section_type, return -1; if (strcmp(args[0], "tune.disable-fast-forward") == 0) { - if (!experimental_directives_allowed) { - memprintf(err, "'%s' directive is experimental, must be allowed via a global 'expose-experimental-directives'", - args[0]); - return -1; - } - mark_tainted(TAINTED_CONFIG_EXP_KW_DECLARED); global.tune.options &= ~GTUNE_USE_FAST_FWD; } else if (strcmp(args[0], "tune.disable-zero-copy-forwarding") == 0) {