diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientViewBase.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientViewBase.cs b/OpenSim/OpenSim.RegionServer/ClientViewBase.cs index 642251c..1eee329 100644 --- a/OpenSim/OpenSim.RegionServer/ClientViewBase.cs +++ b/OpenSim/OpenSim.RegionServer/ClientViewBase.cs | |||
@@ -10,6 +10,7 @@ using System.Threading; | |||
10 | using System.Timers; | 10 | using System.Timers; |
11 | using OpenSim.Framework.Utilities; | 11 | using OpenSim.Framework.Utilities; |
12 | using OpenSim.Framework.Interfaces; | 12 | using OpenSim.Framework.Interfaces; |
13 | using OpenSim.Framework.Console; | ||
13 | 14 | ||
14 | namespace OpenSim | 15 | namespace OpenSim |
15 | { | 16 | { |
@@ -132,7 +133,7 @@ namespace OpenSim | |||
132 | } | 133 | } |
133 | catch (Exception) | 134 | catch (Exception) |
134 | { | 135 | { |
135 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.MEDIUM, "OpenSimClient.cs:ProcessOutPacket() - WARNING: Socket exception occurred on connection " + userEP.ToString() + " - killing thread"); | 136 | MainConsole.Instance.Warn("OpenSimClient.cs:ProcessOutPacket() - WARNING: Socket exception occurred on connection " + userEP.ToString() + " - killing thread"); |
136 | this.KillThread(); | 137 | this.KillThread(); |
137 | } | 138 | } |
138 | 139 | ||
@@ -227,7 +228,7 @@ namespace OpenSim | |||
227 | { | 228 | { |
228 | if ((now - packet.TickCount > RESEND_TIMEOUT) && (!packet.Header.Resent)) | 229 | if ((now - packet.TickCount > RESEND_TIMEOUT) && (!packet.Header.Resent)) |
229 | { | 230 | { |
230 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Resending " + packet.Type.ToString() + " packet, " + | 231 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Resending " + packet.Type.ToString() + " packet, " + |
231 | (now - packet.TickCount) + "ms have passed"); | 232 | (now - packet.TickCount) + "ms have passed"); |
232 | 233 | ||
233 | packet.Header.Resent = true; | 234 | packet.Header.Resent = true; |
@@ -246,7 +247,7 @@ namespace OpenSim | |||
246 | if (PendingAcks.Count > 250) | 247 | if (PendingAcks.Count > 250) |
247 | { | 248 | { |
248 | // FIXME: Handle the odd case where we have too many pending ACKs queued up | 249 | // FIXME: Handle the odd case where we have too many pending ACKs queued up |
249 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.VERBOSE, "Too many ACKs queued up!"); | 250 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Too many ACKs queued up!"); |
250 | return; | 251 | return; |
251 | } | 252 | } |
252 | 253 | ||