add soem try/catch (and yes..yes right on last commit should hed been write...
parent
0518b397a3
commit
fa844d7e6e
|
@ -117,10 +117,18 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(m_processRequest != null)
|
try
|
||||||
m_processRequest(httpRequest, httpResponse, args);
|
{
|
||||||
else
|
if(m_processRequest != null)
|
||||||
ProcessRequest(httpRequest, httpResponse, args);
|
m_processRequest(httpRequest, httpResponse, args);
|
||||||
|
else
|
||||||
|
ProcessRequest(httpRequest, httpResponse, args);
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
httpResponse.StatusCode = (int)HttpStatusCode.InternalServerError;
|
||||||
|
}
|
||||||
|
|
||||||
RequestsHandled++;
|
RequestsHandled++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -88,10 +88,19 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(m_processRequest != null)
|
|
||||||
m_processRequest(httpRequest, httpResponse);
|
try
|
||||||
else
|
{
|
||||||
ProcessRequest(httpRequest, httpResponse);
|
if (m_processRequest != null)
|
||||||
|
m_processRequest(httpRequest, httpResponse);
|
||||||
|
else
|
||||||
|
ProcessRequest(httpRequest, httpResponse);
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
httpResponse.StatusCode = (int)HttpStatusCode.InternalServerError;
|
||||||
|
}
|
||||||
|
|
||||||
RequestsHandled++;
|
RequestsHandled++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue