From: Matt Caswell Date: Tue, 13 Jun 2023 12:12:08 +0000 (+0100) Subject: Before we do anything the ping deadline is infinite X-Git-Tag: openssl-3.2.0-alpha1~578 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27195689a8e123be356209d90000f49def13a0b9;p=thirdparty%2Fopenssl.git Before we do anything the ping deadline is infinite Needed for tserver so that it the deadline isn't immediate before we've accepted a connection. Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/21204) --- diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c index 53d86eac988..dc16d69a8d5 100644 --- a/ssl/quic/quic_channel.c +++ b/ssl/quic/quic_channel.c @@ -135,6 +135,8 @@ static int ch_init(QUIC_CHANNEL *ch) qtx_args.mdpl = QUIC_MIN_INITIAL_DGRAM_LEN; ch->rx_max_udp_payload_size = qtx_args.mdpl; + ch->ping_deadline = ossl_time_infinite(); + ch->qtx = ossl_qtx_new(&qtx_args); if (ch->qtx == NULL) goto err;