httpserver send now has priority, use it

master
UbitUmarov 2020-03-31 22:03:43 +01:00
parent 817c2b3bb9
commit 650b051cdf
3 changed files with 5 additions and 0 deletions

View File

@ -138,7 +138,10 @@ namespace OpenSim.Capabilities.Handlers
} }
if (type == AssetType.Mesh || type == AssetType.Texture) if (type == AssetType.Mesh || type == AssetType.Texture)
{
responsedata["throttle"] = true; responsedata["throttle"] = true;
responsedata["prio"] = 2;
}
responsedata["content_type"] = asset.Metadata.ContentType; responsedata["content_type"] = asset.Metadata.ContentType;
responsedata["bin_response_data"] = asset.Data; responsedata["bin_response_data"] = asset.Data;

View File

@ -36,6 +36,7 @@ using log4net;
using Nini.Config; using Nini.Config;
using OpenMetaverse; using OpenMetaverse;
using OpenMetaverse.StructuredData; using OpenMetaverse.StructuredData;
using OpenSim.Framework;
using OpenSim.Framework.Servers.HttpServer; using OpenSim.Framework.Servers.HttpServer;
using OpenSim.Services.Interfaces; using OpenSim.Services.Interfaces;
using Caps = OpenSim.Framework.Capabilities.Caps; using Caps = OpenSim.Framework.Capabilities.Caps;

View File

@ -29,6 +29,7 @@ using System;
using Nini.Config; using Nini.Config;
using OpenSim.Server.Base; using OpenSim.Server.Base;
using OpenSim.Services.Interfaces; using OpenSim.Services.Interfaces;
using OpenSim.Framework;
using OpenSim.Framework.Servers.HttpServer; using OpenSim.Framework.Servers.HttpServer;
using OpenSim.Server.Handlers.Base; using OpenSim.Server.Handlers.Base;
using OpenMetaverse; using OpenMetaverse;