Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Reviewed by: steve

Fix DTLS Retransmission Buffer Bug
This commit is contained in:
Dr. Stephen Henson
2011-04-03 17:15:08 +00:00
parent fbbf28e7c2
commit 3622d3743e
2 changed files with 2 additions and 14 deletions

View File

@@ -330,6 +330,8 @@ void dtls1_stop_timer(SSL *s)
memset(&(s->d1->next_timeout), 0, sizeof(struct timeval));
s->d1->timeout_duration = 1;
BIO_ctrl(SSL_get_rbio(s), BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT, 0, &(s->d1->next_timeout));
/* Clear retransmission buffer */
dtls1_clear_record_buffer(s);
}
int dtls1_handle_timeout(SSL *s)