mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* Update libOMV to r2359. This is necessary for the progressive texture patch
* Update libopenjpeg as well for this patch. * Appears to be okay on a very short sniff test * Source code will be placed in opensim-libs shortly
This commit is contained in:
@@ -692,8 +692,8 @@ namespace OpenSim.Framework.Servers
|
||||
//m_log.DebugFormat("[OGP]: {0}:{1}", request.RawUrl, requestBody);
|
||||
response.KeepAlive = true;
|
||||
|
||||
LLSD llsdRequest = null;
|
||||
LLSD llsdResponse = null;
|
||||
OSD llsdRequest = null;
|
||||
OSD llsdResponse = null;
|
||||
|
||||
bool LegacyLLSDLoginLibOMV = (requestBody.Contains("passwd") && requestBody.Contains("mac") && requestBody.Contains("viewer_digest"));
|
||||
|
||||
@@ -704,7 +704,7 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
try
|
||||
{
|
||||
llsdRequest = LLSDParser.DeserializeXml(requestBody);
|
||||
llsdRequest = OSDParser.DeserializeLLSDXml(requestBody);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -756,7 +756,7 @@ namespace OpenSim.Framework.Servers
|
||||
{
|
||||
response.ContentType = "application/llsd+xml";
|
||||
//m_log.Info("[Debug BASE HTTP SERVER]: Response: " + llsdResponse.ToString());
|
||||
buffer = LLSDParser.SerializeXmlBytes(llsdResponse);
|
||||
buffer = OSDParser.SerializeLLSDXmlBytes(llsdResponse);
|
||||
}
|
||||
response.SendChunked = false;
|
||||
response.ContentLength64 = buffer.Length;
|
||||
@@ -948,12 +948,12 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
}
|
||||
|
||||
private LLSDMap GenerateNoLLSDHandlerResponse()
|
||||
private OSDMap GenerateNoLLSDHandlerResponse()
|
||||
{
|
||||
LLSDMap map = new LLSDMap();
|
||||
map["reason"] = LLSD.FromString("LLSDRequest");
|
||||
map["message"] = LLSD.FromString("No handler registered for LLSD Requests");
|
||||
map["login"] = LLSD.FromString("false");
|
||||
OSDMap map = new OSDMap();
|
||||
map["reason"] = OSD.FromString("LLSDRequest");
|
||||
map["message"] = OSD.FromString("No handler registered for LLSD Requests");
|
||||
map["login"] = OSD.FromString("false");
|
||||
return map;
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
@@ -341,8 +341,7 @@ namespace OpenSim.Framework.Servers
|
||||
public virtual void Show(string[] showParams)
|
||||
{
|
||||
switch (showParams[0])
|
||||
{
|
||||
|
||||
{
|
||||
case "info":
|
||||
Notice("Version: " + m_version);
|
||||
Notice("Startup directory: " + m_startupDirectory);
|
||||
@@ -350,9 +349,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
case "stats":
|
||||
if (m_stats != null)
|
||||
{
|
||||
Notice(m_stats.Report());
|
||||
}
|
||||
break;
|
||||
|
||||
case "threads":
|
||||
|
||||
@@ -29,6 +29,6 @@ using OpenMetaverse.StructuredData;
|
||||
|
||||
namespace OpenSim.Framework.Servers
|
||||
{
|
||||
public delegate LLSD LLSDMethod( string path, LLSD request, string endpoint );
|
||||
public delegate LLSD DefaultLLSDMethod(LLSD request);
|
||||
public delegate OSD LLSDMethod( string path, OSD request, string endpoint );
|
||||
public delegate OSD DefaultLLSDMethod(OSD request);
|
||||
}
|
||||
|
||||
@@ -29,5 +29,5 @@ using OpenMetaverse.StructuredData;
|
||||
|
||||
namespace OpenSim.Framework.Servers
|
||||
{
|
||||
public delegate LLSD LLSDMethodString(LLSD request, string thePath);
|
||||
public delegate OSD LLSDMethodString(OSD request, string thePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user