Count timeout per flight, not per message
This commit is contained in:
parent
db2858ce96
commit
7de3c9eecb
4 changed files with 49 additions and 9 deletions
|
@ -2831,6 +2831,11 @@ static int ssl_write_server_hello_done( 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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue