diff options
author | Matt Caswell <matt@openssl.org> | 2023-06-13 13:12:08 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-06-28 09:53:22 +1000 |
commit | 27195689a8e123be356209d90000f49def13a0b9 (patch) | |
tree | 59f219d7ecd311eb2daea33ae8ce96bc90646a99 /ssl | |
parent | fb4a2bba7115d1d1d5ac0ab8829e9659199ef77d (diff) |
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 <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21204)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/quic/quic_channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/quic/quic_channel.c b/ssl/quic/quic_channel.c index 53d86eac98..dc16d69a8d 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; |