diff --git a/doc/configuration.txt b/doc/configuration.txt index 10faa8613..09a9ada2d 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 e18632554..0807e87b4 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);