diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.PacketQueue.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.PacketQueue.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.PacketQueue.cs b/OpenSim/Region/ClientStack/ClientView.PacketQueue.cs index dc7952e..179d02a 100644 --- a/OpenSim/Region/ClientStack/ClientView.PacketQueue.cs +++ b/OpenSim/Region/ClientStack/ClientView.PacketQueue.cs | |||
@@ -197,7 +197,7 @@ namespace OpenSim.Region.ClientStack | |||
197 | StartPingCheckPacket startPing = (StartPingCheckPacket) NewPack; | 197 | StartPingCheckPacket startPing = (StartPingCheckPacket) NewPack; |
198 | CompletePingCheckPacket endPing = new CompletePingCheckPacket(); | 198 | CompletePingCheckPacket endPing = new CompletePingCheckPacket(); |
199 | endPing.PingID.PingID = startPing.PingID.PingID; | 199 | endPing.PingID.PingID = startPing.PingID.PingID; |
200 | OutPacket(endPing); | 200 | OutPacket(endPing, ThrottleOutPacketType.Task); |
201 | } | 201 | } |
202 | else | 202 | else |
203 | { | 203 | { |
@@ -208,7 +208,7 @@ namespace OpenSim.Region.ClientStack | |||
208 | } | 208 | } |
209 | } | 209 | } |
210 | 210 | ||
211 | public virtual void OutPacket(Packet NewPack) | 211 | public virtual void OutPacket(Packet NewPack, ThrottleOutPacketType throttlePacketType) |
212 | { | 212 | { |
213 | QueItem item = new QueItem(); | 213 | QueItem item = new QueItem(); |
214 | item.Packet = NewPack; | 214 | item.Packet = NewPack; |
@@ -228,7 +228,7 @@ namespace OpenSim.Region.ClientStack | |||
228 | ack_it.Packets[0].ID = Pack.Header.Sequence; | 228 | ack_it.Packets[0].ID = Pack.Header.Sequence; |
229 | ack_it.Header.Reliable = false; | 229 | ack_it.Header.Reliable = false; |
230 | 230 | ||
231 | OutPacket(ack_it); | 231 | OutPacket(ack_it, ThrottleOutPacketType.Task); |
232 | } | 232 | } |
233 | /* | 233 | /* |
234 | if (Pack.Header.Reliable) | 234 | if (Pack.Header.Reliable) |
@@ -255,7 +255,7 @@ namespace OpenSim.Region.ClientStack | |||
255 | (now - packet.TickCount) + "ms have passed"); | 255 | (now - packet.TickCount) + "ms have passed"); |
256 | 256 | ||
257 | packet.Header.Resent = true; | 257 | packet.Header.Resent = true; |
258 | OutPacket(packet); | 258 | OutPacket(packet, ThrottleOutPacketType.Resend); |
259 | } | 259 | } |
260 | } | 260 | } |
261 | } | 261 | } |
@@ -289,7 +289,7 @@ namespace OpenSim.Region.ClientStack | |||
289 | } | 289 | } |
290 | 290 | ||
291 | acks.Header.Reliable = false; | 291 | acks.Header.Reliable = false; |
292 | OutPacket(acks); | 292 | OutPacket(acks, ThrottleOutPacketType.Task); |
293 | 293 | ||
294 | PendingAcks.Clear(); | 294 | PendingAcks.Clear(); |
295 | } | 295 | } |