]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: cfgparse: QUIC default server transport parameters init.
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 23 Nov 2020 14:50:46 +0000 (15:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Dec 2020 10:57:26 +0000 (11:57 +0100)
This patch is there to initialize the default transport parameters for QUIC
as a preparation for one of the QUIC next steps to come: fully support QUIC
protocol for haproxy servers.

src/cfgparse.c

index 4dd01bb6319b923412163494dbe92916f7817749..6ac68722f997390dbe398a6b06a03b1224340749 100644 (file)
@@ -458,6 +458,10 @@ void init_default_instance()
 
        defproxy.email_alert.level = LOG_ALERT;
        defproxy.load_server_state_from_file = PR_SRV_STATE_FILE_UNSPEC;
+#if defined(USE_QUIC)
+       quic_transport_params_init(&defproxy.defsrv.quic_params, 0);
+#endif
+
 }
 
 /* Allocate and initialize the frontend of a "peers" section found in