diff options
author | UbitUmarov | 2019-08-24 22:52:47 +0100 |
---|---|---|
committer | UbitUmarov | 2019-08-24 22:52:47 +0100 |
commit | 35e3c3dec4a7d2f531a81d6fc65d8bc29900a64c (patch) | |
tree | 9015e2182bf83b43a3bcddec007d1fc5b8a27055 /OpenSim/Region | |
parent | minor change on httpserver dll (diff) | |
download | opensim-SC-35e3c3dec4a7d2f531a81d6fc65d8bc29900a64c.zip opensim-SC-35e3c3dec4a7d2f531a81d6fc65d8bc29900a64c.tar.gz opensim-SC-35e3c3dec4a7d2f531a81d6fc65d8bc29900a64c.tar.bz2 opensim-SC-35e3c3dec4a7d2f531a81d6fc65d8bc29900a64c.tar.xz |
reduce even more the number of objects per UDP packet on object cache related pkts ( TEST )
Diffstat (limited to 'OpenSim/Region')
-rwxr-xr-x | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 31f08af..1927ed4 100755 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -5319,7 +5319,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5319 | lastzc = zc.ZeroCount; | 5319 | lastzc = zc.ZeroCount; |
5320 | 5320 | ||
5321 | CreateCompressedUpdateBlockZC(sop, mysp, zc); | 5321 | CreateCompressedUpdateBlockZC(sop, mysp, zc); |
5322 | if (zc.Position < LLUDPServer.MAXPAYLOAD - 200) | 5322 | //if (zc.Position < LLUDPServer.MAXPAYLOAD - 200) |
5323 | if (zc.Position < LLUDPServer.MAXPAYLOAD - 400) | ||
5323 | { | 5324 | { |
5324 | //tau.Add(eu); | 5325 | //tau.Add(eu); |
5325 | ++count; | 5326 | ++count; |
@@ -5403,7 +5404,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
5403 | Utils.UIntToBytes((uint)sop.ParentGroup.PseudoCRC, data, pos); pos += 4; //WRONG | 5404 | Utils.UIntToBytes((uint)sop.ParentGroup.PseudoCRC, data, pos); pos += 4; //WRONG |
5404 | Utils.UIntToBytes(primflags, data, pos); pos += 4; | 5405 | Utils.UIntToBytes(primflags, data, pos); pos += 4; |
5405 | 5406 | ||
5406 | if (pos < (LLUDPServer.MAXPAYLOAD - 12)) | 5407 | //if (pos < (LLUDPServer.MAXPAYLOAD - 12)) |
5408 | if (pos < (LLUDPServer.MAXPAYLOAD - 200)) | ||
5407 | ++count; | 5409 | ++count; |
5408 | else | 5410 | else |
5409 | { | 5411 | { |