]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic_sock: Finalize the QUIC connections.
authorFrédéric Lécaille <flecaille@haproxy.com>
Wed, 3 Mar 2021 15:21:00 +0000 (16:21 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000 (15:27 +0200)
Add a call to conn_connection_complete() so that to install the mux any
QUIC connection.

src/quic_sock.c

index f349932f5fe193f4564beb34f0f12121ec329993..1a5cf69df238d891884319e1b562e7a19401076a 100644 (file)
@@ -66,7 +66,10 @@ int quic_session_accept(struct connection *cli_conn)
 
        conn_set_owner(cli_conn, sess, NULL);
 
-       return 1;
+       if (conn_complete_session(cli_conn) >= 0)
+               return 1;
+
+       return 0;
 
  out_free_sess:
        /* prevent call to listener_release during session_free. It will be