mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 20:59:57 +01:00
Merge pull request #9259 from julek-wolfssl/dtls13-timeout
Reset DTLS 1.3 timeout
This commit is contained in:
@@ -22799,7 +22799,12 @@ default:
|
||||
return ZERO_RETURN;
|
||||
}
|
||||
#endif /* WOLFSSL_EARLY_DATA */
|
||||
|
||||
if (ret == 0 ||
|
||||
ret == WC_NO_ERR_TRACE(WC_PENDING_E)) {
|
||||
/* Reset timeout as we have received a valid
|
||||
* DTLS handshake message */
|
||||
ssl->dtls_timeout = ssl->dtls_timeout_init;
|
||||
}
|
||||
}
|
||||
#endif /* WOLFSSL_DTLS13 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user