diff --git a/ssl/d1_lib.c b/ssl/d1_lib.c index 8155a890b..91d67a980 100644 --- a/ssl/d1_lib.c +++ b/ssl/d1_lib.c @@ -468,11 +468,6 @@ int dtls1_handle_timeout(SSL *s) s->d1->timeout.read_timeouts = 1; } - if (state->timeout_duration > 2) - { - s->d1->mtu = BIO_ctrl(SSL_get_wbio(s), BIO_CTRL_DGRAM_GET_FALLBACK_MTU, 0, NULL); - } - dtls1_start_timer(s); return dtls1_retransmit_buffered_messages(s); }