diff options
author | UbitUmarov | 2019-02-26 01:16:30 +0000 |
---|---|---|
committer | UbitUmarov | 2019-02-26 01:16:30 +0000 |
commit | 91569e00a0a4f9b9124979b73e00a4e88020c6cd (patch) | |
tree | 021a711c1964f45d4cec5881dbf58138df7c8016 /OpenSim/Region | |
parent | fix UDPBuffersPoolCount value (readable with stats show clientstack (diff) | |
download | opensim-SC-91569e00a0a4f9b9124979b73e00a4e88020c6cd.zip opensim-SC-91569e00a0a4f9b9124979b73e00a4e88020c6cd.tar.gz opensim-SC-91569e00a0a4f9b9124979b73e00a4e88020c6cd.tar.bz2 opensim-SC-91569e00a0a4f9b9124979b73e00a4e88020c6cd.tar.xz |
buffers in pool have no data, better mk that clear
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs index 7f6a292..5fa4637 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/OpenSimUDPBase.cs | |||
@@ -205,6 +205,7 @@ namespace OpenMetaverse | |||
205 | if (m_udpBuffersPoolPtr < 999) | 205 | if (m_udpBuffersPoolPtr < 999) |
206 | { | 206 | { |
207 | buf.RemoteEndPoint = null; | 207 | buf.RemoteEndPoint = null; |
208 | buf.DataLength = 0; | ||
208 | m_udpBuffersPoolPtr++; | 209 | m_udpBuffersPoolPtr++; |
209 | m_udpBuffersPool[m_udpBuffersPoolPtr] = buf; | 210 | m_udpBuffersPool[m_udpBuffersPoolPtr] = buf; |
210 | } | 211 | } |