diff options
author | Justin Clarke Casey | 2008-11-17 21:00:34 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-17 21:00:34 +0000 |
commit | c25a0ea7923aa390d30b8eebdbca4e599edf9b0d (patch) | |
tree | 775133790681153be9edc6d640162271750a1fd0 /OpenSim/Framework/Servers/BaseHttpServer.cs | |
parent | * minor: add interface version to 'show version' command output (diff) | |
download | opensim-SC-c25a0ea7923aa390d30b8eebdbca4e599edf9b0d.zip opensim-SC-c25a0ea7923aa390d30b8eebdbca4e599edf9b0d.tar.gz opensim-SC-c25a0ea7923aa390d30b8eebdbca4e599edf9b0d.tar.bz2 opensim-SC-c25a0ea7923aa390d30b8eebdbca4e599edf9b0d.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Framework/Servers/BaseHttpServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseHttpServer.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs index 1a54d60..0724e8c 100644 --- a/OpenSim/Framework/Servers/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/BaseHttpServer.cs | |||
@@ -692,8 +692,8 @@ namespace OpenSim.Framework.Servers | |||
692 | //m_log.DebugFormat("[OGP]: {0}:{1}", request.RawUrl, requestBody); | 692 | //m_log.DebugFormat("[OGP]: {0}:{1}", request.RawUrl, requestBody); |
693 | response.KeepAlive = true; | 693 | response.KeepAlive = true; |
694 | 694 | ||
695 | LLSD llsdRequest = null; | 695 | OSD llsdRequest = null; |
696 | LLSD llsdResponse = null; | 696 | OSD llsdResponse = null; |
697 | 697 | ||
698 | bool LegacyLLSDLoginLibOMV = (requestBody.Contains("passwd") && requestBody.Contains("mac") && requestBody.Contains("viewer_digest")); | 698 | bool LegacyLLSDLoginLibOMV = (requestBody.Contains("passwd") && requestBody.Contains("mac") && requestBody.Contains("viewer_digest")); |
699 | 699 | ||
@@ -704,7 +704,7 @@ namespace OpenSim.Framework.Servers | |||
704 | } | 704 | } |
705 | try | 705 | try |
706 | { | 706 | { |
707 | llsdRequest = LLSDParser.DeserializeXml(requestBody); | 707 | llsdRequest = OSDParser.DeserializeLLSDXml(requestBody); |
708 | } | 708 | } |
709 | catch (Exception ex) | 709 | catch (Exception ex) |
710 | { | 710 | { |
@@ -756,7 +756,7 @@ namespace OpenSim.Framework.Servers | |||
756 | { | 756 | { |
757 | response.ContentType = "application/llsd+xml"; | 757 | response.ContentType = "application/llsd+xml"; |
758 | //m_log.Info("[Debug BASE HTTP SERVER]: Response: " + llsdResponse.ToString()); | 758 | //m_log.Info("[Debug BASE HTTP SERVER]: Response: " + llsdResponse.ToString()); |
759 | buffer = LLSDParser.SerializeXmlBytes(llsdResponse); | 759 | buffer = OSDParser.SerializeLLSDXmlBytes(llsdResponse); |
760 | } | 760 | } |
761 | response.SendChunked = false; | 761 | response.SendChunked = false; |
762 | response.ContentLength64 = buffer.Length; | 762 | response.ContentLength64 = buffer.Length; |
@@ -948,12 +948,12 @@ namespace OpenSim.Framework.Servers | |||
948 | } | 948 | } |
949 | } | 949 | } |
950 | 950 | ||
951 | private LLSDMap GenerateNoLLSDHandlerResponse() | 951 | private OSDMap GenerateNoLLSDHandlerResponse() |
952 | { | 952 | { |
953 | LLSDMap map = new LLSDMap(); | 953 | OSDMap map = new OSDMap(); |
954 | map["reason"] = LLSD.FromString("LLSDRequest"); | 954 | map["reason"] = OSD.FromString("LLSDRequest"); |
955 | map["message"] = LLSD.FromString("No handler registered for LLSD Requests"); | 955 | map["message"] = OSD.FromString("No handler registered for LLSD Requests"); |
956 | map["login"] = LLSD.FromString("false"); | 956 | map["login"] = OSD.FromString("false"); |
957 | return map; | 957 | return map; |
958 | } | 958 | } |
959 | /// <summary> | 959 | /// <summary> |