added storing of out-of-order and fragmented message, missing processing of the stored list

This commit is contained in:
John Safranek
2013-02-19 16:06:02 -08:00
parent 116f2403d0
commit bdadeab342
3 changed files with 58 additions and 65 deletions

View File

@@ -2467,6 +2467,8 @@ int CyaSSL_dtls_got_timeout(CYASSL* ssl)
{
#ifdef CYASSL_DTLS
int result = SSL_SUCCESS;
DtlsMsgListDelete(ssl->dtls_msg_list, ssl->heap);
ssl->dtls_msg_list = NULL;
if (DtlsPoolTimeout(ssl) < 0 || DtlsPoolSend(ssl) < 0) {
result = SSL_FATAL_ERROR;
}