diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs index 1f4a8c9044..73f27708b9 100644 --- a/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs +++ b/OpenSim/Capabilities/Handlers/FetchInventory/FetchInvDescHandler.cs @@ -120,10 +120,6 @@ namespace OpenSim.Capabilities.Handlers { LLSDInventoryFolderContents thiscontents = contentsToLLSD(icoll.Collection, icoll.Descendents); inventoryitemstr = LLSDHelpers.SerialiseLLSDReply(thiscontents); -// inventoryitemstr = inventoryitemstr.Replace("", ""); -// inventoryitemstr = inventoryitemstr.Replace("", ""); -// inventoryitemstr = inventoryitemstr.Substring(6,inventoryitemstr.Length - 13); -// tmpresponse.Append(inventoryitemstr); tmpresponse.Append(inventoryitemstr.Substring(6,inventoryitemstr.Length - 13)); } diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs index e73cf9eca0..2499ce4023 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs @@ -66,8 +66,6 @@ namespace OpenSim.Capabilities.Handlers Hashtable ret = new Hashtable(); ret["int_response_code"] = (int)System.Net.HttpStatusCode.NotFound; ret["content_type"] = "text/plain"; - ret["keepalive"] = false; - ret["reusecontext"] = false; ret["int_bytes"] = 0; string textureStr = (string)request["texture_id"]; string format = (string)request["format"]; @@ -112,8 +110,6 @@ namespace OpenSim.Capabilities.Handlers ret["error_status_text"] = "not found"; ret["str_response_string"] = "not found"; ret["content_type"] = "text/plain"; - ret["keepalive"] = false; - ret["reusecontext"] = false; ret["int_bytes"] = 0; } } diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index b575ed9448..72b611695a 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs @@ -898,7 +898,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP if (packet.Type == PacketType.CoarseLocationUpdate && allowSplitting) allowSplitting = false; - bool packetQueued = false; +// bool packetQueued = false; if (allowSplitting && packet.HasVariableBlocks) { @@ -911,15 +911,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP for (int i = 0; i < packetCount; i++) { byte[] data = datas[i]; - if (!SendPacketData(udpClient, data, packet.Type, category, method)) - packetQueued = true; +// if (!SendPacketData(udpClient, data, packet.Type, category, method)) +// packetQueued = true; + SendPacketData(udpClient, data, packet.Type, category, method); } } else { byte[] data = packet.ToBytes(); - if (!SendPacketData(udpClient, data, packet.Type, category, method)) - packetQueued = true; +// if (!SendPacketData(udpClient, data, packet.Type, category, method)) +// packetQueued = true; + SendPacketData(udpClient, data, packet.Type, category, method); } PacketPool.Instance.ReturnPacket(packet); diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e10e78778d..ec09fe6717 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -77,7 +77,6 @@ namespace OpenSim.Region.Framework.Scenes public class ScenePresence : EntityBase, IScenePresence { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - private static readonly String LogHeader = "[SCENE PRESENCE]"; // ~ScenePresence() // { diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs index 47e7c7bdc1..42ad39165b 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs @@ -54,6 +54,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde using dReal = System.Single; //#endif + [SuppressUnmanagedCodeSecurityAttribute] internal static class SafeNativeMethods { internal static dReal Infinity = dReal.MaxValue;