mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Count timeout per flight, not per message
This commit is contained in:
committed by
Paul Bakker
parent
db2858ce96
commit
7de3c9eecb
@ -759,6 +759,11 @@ static int ssl_write_client_hello( ssl_context *ssl )
|
||||
|
||||
ssl->state++;
|
||||
|
||||
#if defined(POLARSSL_SSL_PROTO_DTLS)
|
||||
if( ssl->transport == SSL_TRANSPORT_DATAGRAM )
|
||||
ssl_send_flight_completed( ssl );
|
||||
#endif
|
||||
|
||||
if( ( ret = ssl_write_record( ssl ) ) != 0 )
|
||||
{
|
||||
SSL_DEBUG_RET( 1, "ssl_write_record", ret );
|
||||
|
Reference in New Issue
Block a user