-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Closed
prchander/openssl
#3Labels
branch: 1.1.1Applies to OpenSSL_1_1_1-stable branch (EOL)Applies to OpenSSL_1_1_1-stable branch (EOL)branch: masterApplies to master branchApplies to master branchtriaged: bugThe issue/pr is/fixes a bugThe issue/pr is/fixes a bug
Description
Lines 389 to 414 in 8ee66a0
| int dtls1_handle_timeout(SSL *s) | |
| { | |
| /* if no timer is expired, don't do anything */ | |
| if (!dtls1_is_timer_expired(s)) { | |
| return 0; | |
| } | |
| if (s->d1->timer_cb != NULL) | |
| s->d1->timeout_duration_us = s->d1->timer_cb(s, s->d1->timeout_duration_us); | |
| else | |
| dtls1_double_timeout(s); | |
| if (dtls1_check_timeout_num(s) < 0) { | |
| /* SSLfatal() already called */ | |
| return -1; | |
| } | |
| s->d1->timeout.read_timeouts++; | |
| if (s->d1->timeout.read_timeouts > DTLS1_TMO_READ_COUNT) { | |
| s->d1->timeout.read_timeouts = 1; | |
| } | |
| dtls1_start_timer(s); | |
| /* Calls SSLfatal() if required */ | |
| return dtls1_retransmit_buffered_messages(s); | |
| } |
dtls1_handle_timeout -->dtls1_double_timeout<lines 399> --> dtls1_start_timer and dtls1_handle_timeout --> dtls1_start_timer<lines 411> is duplicate.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
branch: 1.1.1Applies to OpenSSL_1_1_1-stable branch (EOL)Applies to OpenSSL_1_1_1-stable branch (EOL)branch: masterApplies to master branchApplies to master branchtriaged: bugThe issue/pr is/fixes a bugThe issue/pr is/fixes a bug