mantis 8171 fix redirection on llHttpRequest

0.9.0-post-fixes
UbitUmarov 2017-05-20 17:56:04 +01:00
parent 9397b358d3
commit 49d42ee08a
1 changed files with 2 additions and 11 deletions

View File

@ -663,12 +663,6 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
Status = (int)OSHttpStatusCode.ClientErrorJoker; Status = (int)OSHttpStatusCode.ClientErrorJoker;
ResponseBody = e.Message; ResponseBody = e.Message;
} }
if (ResponseBody == null)
ResponseBody = String.Empty;
_finished = true;
return;
} }
catch (Exception e) catch (Exception e)
{ {
@ -727,13 +721,10 @@ namespace OpenSim.Region.CoreModules.Scripting.HttpRequest
else else
{ {
_finished = true; _finished = true;
}
}
if (ResponseBody == null) if (ResponseBody == null)
ResponseBody = String.Empty; ResponseBody = String.Empty;
}
_finished = true; }
} }
public void Stop() public void Stop()