MINOR: mux-quic: Disable zero-copy forwarding for send by default
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 4 Dec 2023 14:36:01 +0000 (15:36 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 4 Dec 2023 14:36:02 +0000 (15:36 +0100)
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
src/haproxy.c

index 10faa86..09a9ada 100644 (file)
@@ -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
 
index e186325..0807e87 100644 (file)
@@ -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);