diff options
author | UbitUmarov | 2019-03-15 19:21:44 +0000 |
---|---|---|
committer | UbitUmarov | 2019-03-15 19:21:44 +0000 |
commit | 492ba8f644abf64704bcf35a4f3d3c7990833f00 (patch) | |
tree | 131f8a748187b7968525a2596fd470100d50924e /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | LSL: limit sittext and touchtext to length current viewers cand display (diff) | |
download | opensim-SC-492ba8f644abf64704bcf35a4f3d3c7990833f00.zip opensim-SC-492ba8f644abf64704bcf35a4f3d3c7990833f00.tar.gz opensim-SC-492ba8f644abf64704bcf35a4f3d3c7990833f00.tar.bz2 opensim-SC-492ba8f644abf64704bcf35a4f3d3c7990833f00.tar.xz |
minor cleanup
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index cb2d9e2..547c8a6 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -1815,14 +1815,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1815 | { | 1815 | { |
1816 | // An inventory descendents packet consists of a single agent section and an inventory details | 1816 | // An inventory descendents packet consists of a single agent section and an inventory details |
1817 | // section for each inventory item. The size of each inventory item is approximately 550 bytes. | 1817 | // section for each inventory item. The size of each inventory item is approximately 550 bytes. |
1818 | // In theory, UDP has a maximum packet size of 64k, so it should be possible to send descendent | 1818 | // limit to what may fit on MTU |
1819 | // packets containing metadata for in excess of 100 items. But in practice, there may be other | ||
1820 | // factors (e.g. firewalls) restraining the maximum UDP packet size. See, | ||
1821 | // | ||
1822 | // http://opensimulator.org/mantis/view.php?id=226 | ||
1823 | // | ||
1824 | // for one example of this kind of thing. In fact, the Linden servers appear to only send about | ||
1825 | // 6 to 7 items at a time, so let's stick with 6 | ||
1826 | int MAX_ITEMS_PER_PACKET = 5; | 1819 | int MAX_ITEMS_PER_PACKET = 5; |
1827 | int MAX_FOLDERS_PER_PACKET = 6; | 1820 | int MAX_FOLDERS_PER_PACKET = 6; |
1828 | 1821 | ||