]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DO NOT MERGE: start the xprt after having created/started the mux 20251106-quic-be-0rtt
authorFrederic Lecaille <flecaille@haproxy.com>
Thu, 6 Nov 2025 14:48:51 +0000 (15:48 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 6 Nov 2025 17:14:18 +0000 (18:14 +0100)
src/backend.c

index 9937a7f9f0cab7dfb8bd6a1288f8461a1898bc13..2b093706b28f10e6d2a4da17636792bf54c55799 100644 (file)
@@ -2175,7 +2175,6 @@ int connect_server(struct stream *s)
                        return SF_ERR_INTERNAL;
                }
        }
-       conn_xprt_start(srv_conn);
 
        /* We have to defer the mux initialization until after si_connect()
         * has been called, as we need the xprt to have been properly
@@ -2212,6 +2211,7 @@ int connect_server(struct stream *s)
                }
        }
 
+       conn_xprt_start(srv_conn);
 #if defined(HAVE_SSL_0RTT)
        /* The flags change below deserve some explanation: when we want to
         * use early data, we first want to make sure that a mux is installed