mirror of
https://github.com/openssl/openssl.git
synced 2024-12-15 06:01:37 +08:00
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)
This commit is contained in:
parent
fb4a2bba71
commit
27195689a8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user