Merge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/var/git/careminster into careminster-presence-refactor
commit
5cbb203efb
|
@ -1523,11 +1523,20 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
try
|
||||||
//m_log.Info("[BASE HTTP SERVER]: Doing HTTP Grunt work with response");
|
{
|
||||||
responsecode = (int)responsedata["int_response_code"];
|
//m_log.Info("[BASE HTTP SERVER]: Doing HTTP Grunt work with response");
|
||||||
responseString = (string)responsedata["str_response_string"];
|
responsecode = (int)responsedata["int_response_code"];
|
||||||
contentType = (string)responsedata["content_type"];
|
responseString = (string)responsedata["str_response_string"];
|
||||||
|
contentType = (string)responsedata["content_type"];
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
responsecode = 500;
|
||||||
|
responseString = "No response could be obtained";
|
||||||
|
contentType = "text/plain";
|
||||||
|
responsedata = new Hashtable();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (responsedata.ContainsKey("error_status_text"))
|
if (responsedata.ContainsKey("error_status_text"))
|
||||||
|
|
|
@ -491,10 +491,21 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
|
||||||
pathInfo = uri.Substring(pos3);
|
pathInfo = uri.Substring(pos3);
|
||||||
|
|
||||||
UrlData url = null;
|
UrlData url = null;
|
||||||
|
string urlkey;
|
||||||
if (!is_ssl)
|
if (!is_ssl)
|
||||||
url = m_UrlMap["http://" + m_ExternalHostNameForLSL + ":" + m_HttpServer.Port.ToString() + uri_tmp];
|
urlkey = "http://" + m_ExternalHostNameForLSL + ":" + m_HttpServer.Port.ToString() + uri_tmp;
|
||||||
|
//m_UrlMap[];
|
||||||
else
|
else
|
||||||
url = m_UrlMap["https://" + m_ExternalHostNameForLSL + ":" + m_HttpsServer.Port.ToString() + uri_tmp];
|
urlkey = "https://" + m_ExternalHostNameForLSL + ":" + m_HttpsServer.Port.ToString() + uri_tmp;
|
||||||
|
|
||||||
|
if (m_UrlMap.ContainsKey(urlkey))
|
||||||
|
{
|
||||||
|
url = m_UrlMap[urlkey];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_log.Warn("[HttpRequestHandler]: http-in request failed; no such url: "+urlkey.ToString());
|
||||||
|
}
|
||||||
|
|
||||||
//for llGetHttpHeader support we need to store original URI here
|
//for llGetHttpHeader support we need to store original URI here
|
||||||
//to make x-path-info / x-query-string / x-script-url / x-remote-ip headers
|
//to make x-path-info / x-query-string / x-script-url / x-remote-ip headers
|
||||||
|
|
|
@ -183,7 +183,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// Has the group changed due to an unlink operation? We record this in order to optimize deletion, since
|
/// Has the group changed due to an unlink operation? We record this in order to optimize deletion, since
|
||||||
/// an unlinked group currently has to be persisted to the database before we can perform an unlink operation.
|
/// an unlinked group currently has to be persisted to the database before we can perform an unlink operation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool HasGroupChangedDueToDelink { get; private set; }
|
public bool HasGroupChangedDueToDelink { get; set; }
|
||||||
|
|
||||||
private bool isTimeToPersist()
|
private bool isTimeToPersist()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue