diff options
author | John Hurliman | 2009-10-09 16:33:50 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-09 16:33:50 -0700 |
commit | 29543514e6a8ad91a90e244a9488e9d0408f45bf (patch) | |
tree | 7dffbadf992c29a94dca0cb0c23248c6d92eaaae /OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs | |
parent | Merge branch 'master' into htb-throttle (diff) | |
download | opensim-SC_OLD-29543514e6a8ad91a90e244a9488e9d0408f45bf.zip opensim-SC_OLD-29543514e6a8ad91a90e244a9488e9d0408f45bf.tar.gz opensim-SC_OLD-29543514e6a8ad91a90e244a9488e9d0408f45bf.tar.bz2 opensim-SC_OLD-29543514e6a8ad91a90e244a9488e9d0408f45bf.tar.xz |
* Changed the "Packet exceeded buffer size" log line to debug and include the packet type. This message is normal, but could be evidence of a message marked for zerocoding that probably shouldn't be
* Changing OpenSimUDPBase back to high concurrency. High concurrency mode seems to make other problems happen faster, so it's helpful for working out other bugs and will probably
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs index e78a4fe..fad2ea8 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs | |||
@@ -198,6 +198,9 @@ namespace OpenMetaverse | |||
198 | // to AsyncBeginReceive | 198 | // to AsyncBeginReceive |
199 | if (!m_shutdownFlag) | 199 | if (!m_shutdownFlag) |
200 | { | 200 | { |
201 | // start another receive - this keeps the server going! | ||
202 | AsyncBeginReceive(); | ||
203 | |||
201 | // get the buffer that was created in AsyncBeginReceive | 204 | // get the buffer that was created in AsyncBeginReceive |
202 | // this is the received data | 205 | // this is the received data |
203 | //WrappedObject<UDPPacketBuffer> wrappedBuffer = (WrappedObject<UDPPacketBuffer>)iar.AsyncState; | 206 | //WrappedObject<UDPPacketBuffer> wrappedBuffer = (WrappedObject<UDPPacketBuffer>)iar.AsyncState; |
@@ -216,13 +219,7 @@ namespace OpenMetaverse | |||
216 | } | 219 | } |
217 | catch (SocketException) { } | 220 | catch (SocketException) { } |
218 | catch (ObjectDisposedException) { } | 221 | catch (ObjectDisposedException) { } |
219 | finally | 222 | //finally { wrappedBuffer.Dispose(); } |
220 | { | ||
221 | // wrappedBuffer.Dispose(); | ||
222 | |||
223 | // start another receive - this keeps the server going! | ||
224 | AsyncBeginReceive(); | ||
225 | } | ||
226 | 223 | ||
227 | } | 224 | } |
228 | } | 225 | } |