This commit is contained in:
susy sandeman 2026-11-20 13:15:39 +00:00 • committed by GitHub
commit 49e2bbaaf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1424,6 +1424,8 @@ int FPHost::update_RTO(int measured_rtt_usecs, bool retransmission) {
* low-latency networks (such as localhost scans). */
if (this->rto < (MIN_RTT_TIMEOUT*1000))
this->rto = (MIN_RTT_TIMEOUT*1000);
if (this->rto > (o.maxRttTimeout()*1000))
this->rto = (o.maxRttTimeout()*1000);
return this->rto;
}