diff options
author | John Hurliman | 2009-10-23 01:33:05 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-23 01:33:05 -0700 |
commit | ac0acb02962c37f870dc38a356e1530803f699e8 (patch) | |
tree | e80b730d6f01a74d6844ca9f5f89ce40accae960 /OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | |
parent | Commented out noisy debugging about resent packets (normal) and agents settin... (diff) | |
download | opensim-SC-ac0acb02962c37f870dc38a356e1530803f699e8.zip opensim-SC-ac0acb02962c37f870dc38a356e1530803f699e8.tar.gz opensim-SC-ac0acb02962c37f870dc38a356e1530803f699e8.tar.bz2 opensim-SC-ac0acb02962c37f870dc38a356e1530803f699e8.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs index 460938e..d2cd6d9 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | |||
@@ -500,7 +500,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
500 | RTO = (int)(SRTT + Math.Max(m_udpServer.TickCountResolution, K * RTTVAR)); | 500 | RTO = (int)(SRTT + Math.Max(m_udpServer.TickCountResolution, K * RTTVAR)); |
501 | 501 | ||
502 | // Clamp the retransmission timeout to manageable values | 502 | // Clamp the retransmission timeout to manageable values |
503 | RTO = Utils.Clamp(RTO, 3000, 10000); | 503 | RTO = Utils.Clamp(RTO, 3000, 60000); |
504 | 504 | ||
505 | //m_log.Debug("[LLUDPCLIENT]: Setting agent " + this.Agent.FullName + "'s RTO to " + RTO + "ms with an RTTVAR of " + | 505 | //m_log.Debug("[LLUDPCLIENT]: Setting agent " + this.Agent.FullName + "'s RTO to " + RTO + "ms with an RTTVAR of " + |
506 | // RTTVAR + " based on new RTT of " + r + "ms"); | 506 | // RTTVAR + " based on new RTT of " + r + "ms"); |