]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
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 10faa8613f29e2bb9f7352d052a2594914f9bd43..09a9ada2df050e1e5e3f60daea1e90f0b15868aa 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 e1863255422459e806f7e50828e81976bb41c14c..0807e87b431363536c52576247b1000333895bbd 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);