]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
Revert "MINOR: mux-quic: Disable zero-copy forwarding for send by default"
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Dec 2023 15:26:07 +0000 (16:26 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 22 Dec 2023 15:30:37 +0000 (16:30 +0100)
This reverts commit 18f2ccd244f555348b0d5920e3b71286f1e7b04b.

Found issues related to QUIC fast-forward were resolved (see github
issue #2372). Reenable it by default. If any issue arises, it can be
disabled using the global statement :
  tune.quit.zero-copy-fwd-send off

This can be backported to 2.9, but only after a sensible period of
observation.

doc/configuration.txt
src/haproxy.c

index 3ec385e62b3b08f2bba9d47a232f01a7900ba10f..97602c88e1f06d70589cea7181f64b6cc340b3b1 100644 (file)
@@ -3652,7 +3652,7 @@ tune.quic.socket-owner { connection | listener }
 
 tune.quic.zero-copy-fwd-send { on | off }
   Enables ('on') of disabled ('off') the zero-copy sends of data for the QUIC
-  multiplexer. It is disabled by default.
+  multiplexer. It is enabled by default.
 
   See also: tune.disable-zero-copy-forwarding
 
index 0807e87b431363536c52576247b1000333895bbd..e1863255422459e806f7e50828e81976bb41c14c 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 = NO_ZERO_COPY_FWD_QUIC_SND;
+       global.tune.no_zero_copy_fwd = 0;
 
        /* keep a copy of original arguments for the master process */
        old_argv = copy_argv(argc, argv);