From 18f2ccd244f555348b0d5920e3b71286f1e7b04b Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 4 Dec 2023 15:36:01 +0100 Subject: [PATCH] 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'. --- doc/configuration.txt | 2 +- src/haproxy.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 10faa86..09a9ada 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 e186325..0807e87 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); -- 1.7.10.4