mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
* Changed the max RTO value to 60 seconds to comply with RFC 2988
* Implemented section 5.5, exponential backoff of the RTO after a resend
This commit is contained in:
@@ -500,7 +500,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
RTO = (int)(SRTT + Math.Max(m_udpServer.TickCountResolution, K * RTTVAR));
|
||||
|
||||
// Clamp the retransmission timeout to manageable values
|
||||
RTO = Utils.Clamp(RTO, 3000, 10000);
|
||||
RTO = Utils.Clamp(RTO, 3000, 60000);
|
||||
|
||||
//m_log.Debug("[LLUDPCLIENT]: Setting agent " + this.Agent.FullName + "'s RTO to " + RTO + "ms with an RTTVAR of " +
|
||||
// RTTVAR + " based on new RTT of " + r + "ms");
|
||||
|
||||
Reference in New Issue
Block a user