Thank you very much, Diva for a patch to increase the
grid server reliability.ThreadPoolClientBranch
parent
9e828ab168
commit
df04345e3f
|
@ -680,14 +680,17 @@ namespace OpenSim.Grid.GridServer
|
|||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
/// <param name="path"></param>
|
||||
/// <param name="param"></param>
|
||||
/// <param name="param">A string representing the sim's UUID</param>
|
||||
/// <returns>Information about the sim in XML</returns>
|
||||
public string RestGetSimMethod(string request, string path, string param)
|
||||
{
|
||||
string respstring = String.Empty;
|
||||
|
||||
RegionProfileData TheSim;
|
||||
LLUUID UUID = new LLUUID(param);
|
||||
|
||||
LLUUID UUID;
|
||||
if (LLUUID.TryParse(param, out UUID))
|
||||
{
|
||||
TheSim = getRegion(UUID);
|
||||
|
||||
if (!(TheSim == null))
|
||||
|
@ -705,6 +708,13 @@ namespace OpenSim.Grid.GridServer
|
|||
respstring += "</sim>";
|
||||
respstring += "</Root>";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
respstring = "<Root>";
|
||||
respstring += "<error>Param must be a UUID</error>";
|
||||
respstring += "</Root>";
|
||||
}
|
||||
|
||||
return respstring;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue