From: Christopher Faulet Date: Mon, 4 Dec 2023 14:36:01 +0000 (+0100) Subject: MINOR: mux-quic: Disable zero-copy forwarding for send by default X-Git-Tag: v2.9.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18f2ccd244f555348b0d5920e3b71286f1e7b04b;p=thirdparty%2Fhaproxy.git MINOR: mux-quic: Disable zero-copy forwarding for send by default There is at least an bug for now in this part and it is still unstable. Thus it is better to disable it for now by default. It can be enable by setting tune.quic.zero-copy-fwd-send to 'on'. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 10faa8613f..09a9ada2df 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -3459,7 +3459,7 @@ tune.quic.socket-owner { connection | listener } tune.quit.zero-copy-fwd-send { on | off } Enables ('on') of disabled ('off') the zero-copy sends of data for the QUIC - multiplexer. It is enabled by default. + multiplexer. It is disabled by default. See also: tune.disable-zero-copy-forwarding diff --git a/src/haproxy.c b/src/haproxy.c index e186325542..0807e87b43 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -1601,7 +1601,7 @@ static void init_args(int argc, char **argv) global.tune.options |= GTUNE_USE_FAST_FWD; /* Use fast-forward by default */ /* Use zero-copy forwarding by default */ - global.tune.no_zero_copy_fwd = 0; + global.tune.no_zero_copy_fwd = NO_ZERO_COPY_FWD_QUIC_SND; /* keep a copy of original arguments for the master process */ old_argv = copy_argv(argc, argv);