mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
fix bug with non-blocking DTLS where the stored peer messages were deleted after a timeout
This commit is contained in:
@@ -6163,8 +6163,6 @@ int wolfSSL_dtls_got_timeout(WOLFSSL* ssl)
|
|||||||
{
|
{
|
||||||
int result = SSL_SUCCESS;
|
int result = SSL_SUCCESS;
|
||||||
|
|
||||||
DtlsMsgListDelete(ssl->dtls_msg_list, ssl->heap);
|
|
||||||
ssl->dtls_msg_list = NULL;
|
|
||||||
if (DtlsPoolTimeout(ssl) < 0 || DtlsPoolSend(ssl) < 0) {
|
if (DtlsPoolTimeout(ssl) < 0 || DtlsPoolSend(ssl) < 0) {
|
||||||
result = SSL_FATAL_ERROR;
|
result = SSL_FATAL_ERROR;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user