mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Reverting the texture sending patch and the new libOMV. This makes this
release a direct descendant of the stable 7364, with all the features and none of the issues. This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373 r7372 r7370 r7369 r7368 r7367 r7366
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;
|
||||
|
||||
OSD llsdRequest = null;
|
||||
OSD llsdResponse = null;
|
||||
LLSD llsdRequest = null;
|
||||
LLSD llsdResponse = null;
|
||||
|
||||
bool LegacyLLSDLoginLibOMV = (requestBody.Contains("passwd") && requestBody.Contains("mac") && requestBody.Contains("viewer_digest"));
|
||||
|
||||
@@ -704,7 +704,7 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
try
|
||||
{
|
||||
llsdRequest = OSDParser.DeserializeLLSDXml(requestBody);
|
||||
llsdRequest = LLSDParser.DeserializeXml(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 = OSDParser.SerializeLLSDXmlBytes(llsdResponse);
|
||||
buffer = LLSDParser.SerializeXmlBytes(llsdResponse);
|
||||
}
|
||||
response.SendChunked = false;
|
||||
response.ContentLength64 = buffer.Length;
|
||||
@@ -948,12 +948,12 @@ namespace OpenSim.Framework.Servers
|
||||
}
|
||||
}
|
||||
|
||||
private OSDMap GenerateNoLLSDHandlerResponse()
|
||||
private LLSDMap GenerateNoLLSDHandlerResponse()
|
||||
{
|
||||
OSDMap map = new OSDMap();
|
||||
map["reason"] = OSD.FromString("LLSDRequest");
|
||||
map["message"] = OSD.FromString("No handler registered for LLSD Requests");
|
||||
map["login"] = OSD.FromString("false");
|
||||
LLSDMap map = new LLSDMap();
|
||||
map["reason"] = LLSD.FromString("LLSDRequest");
|
||||
map["message"] = LLSD.FromString("No handler registered for LLSD Requests");
|
||||
map["login"] = LLSD.FromString("false");
|
||||
return map;
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user