Merge pull request #9259 from julek-wolfssl/dtls13-timeout

Reset DTLS 1.3 timeout
This commit is contained in:
David Garske
2025-10-07 07:57:17 -07:00
committed by GitHub
4 changed files with 70 additions and 1 deletions

View File

@@ -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 */
}