aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs b/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
index 6b1d7d2..9d6c09e 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/UnackedPacketCollection.cs
@@ -164,6 +164,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
164 } 164 }
165 } 165 }
166 166
167 //if (expiredPackets != null)
168 // m_log.DebugFormat("[UNACKED PACKET COLLECTION]: Found {0} expired packets on timeout of {1}", expiredPackets.Count, timeoutMS);
169
167 return expiredPackets; 170 return expiredPackets;
168 } 171 }
169 172
@@ -179,6 +182,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
179 PendingAck pendingAcknowledgement; 182 PendingAck pendingAcknowledgement;
180 while (m_pendingAcknowledgements.TryDequeue(out pendingAcknowledgement)) 183 while (m_pendingAcknowledgements.TryDequeue(out pendingAcknowledgement))
181 { 184 {
185 //m_log.DebugFormat("[UNACKED PACKET COLLECTION]: Processing ack {0}", pendingAcknowledgement.SequenceNumber);
182 OutgoingPacket ackedPacket; 186 OutgoingPacket ackedPacket;
183 if (m_packets.TryGetValue(pendingAcknowledgement.SequenceNumber, out ackedPacket)) 187 if (m_packets.TryGetValue(pendingAcknowledgement.SequenceNumber, out ackedPacket))
184 { 188 {
@@ -201,6 +205,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
201 ackedPacket.Client.UpdateRoundTrip(rtt); 205 ackedPacket.Client.UpdateRoundTrip(rtt);
202 } 206 }
203 } 207 }
208 else
209 {
210 //m_log.WarnFormat("[UNACKED PACKET COLLECTION]: Could not find packet with sequence number {0} to ack", pendingAcknowledgement.SequenceNumber);
211 }
204 } 212 }
205 } 213 }
206 214