aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-04-09 21:30:06 +0100
committerUbitUmarov2019-04-09 21:30:06 +0100
commitb051b3a81dbb3bb0e7358e257b1cf82f5daee4ce (patch)
tree9395fe1dca5d66d176f36c84c37f702863ff388a /OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
parenttesting ... (diff)
downloadopensim-SC-b051b3a81dbb3bb0e7358e257b1cf82f5daee4ce.zip
opensim-SC-b051b3a81dbb3bb0e7358e257b1cf82f5daee4ce.tar.gz
opensim-SC-b051b3a81dbb3bb0e7358e257b1cf82f5daee4ce.tar.bz2
opensim-SC-b051b3a81dbb3bb0e7358e257b1cf82f5daee4ce.tar.xz
change to ping based RTO
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs b/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
index 1f978e1..32a6c40 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
@@ -215,14 +215,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
215 // As with other network applications, assume that an acknowledged packet is an 215 // As with other network applications, assume that an acknowledged packet is an
216 // indication that the network can handle a little more load, speed up the transmission 216 // indication that the network can handle a little more load, speed up the transmission
217 ackedPacket.Client.FlowThrottle.AcknowledgePackets(1); 217 ackedPacket.Client.FlowThrottle.AcknowledgePackets(1);
218
219 if (!pendingAcknowledgement.FromResend)
220 {
221 // Calculate the round-trip time for this packet and its ACK
222 int rtt = pendingAcknowledgement.RemoveTime - ackedPacket.TickCount;
223 if (rtt > 0)
224 ackedPacket.Client.UpdateRoundTrip(rtt);
225 }
226 } 218 }
227 else 219 else
228 { 220 {