put back soft http close
parent
e5bebe3a32
commit
90da5280af
|
@ -194,7 +194,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
qu.Clear();
|
||||
m_bycontext.Clear();
|
||||
|
||||
/*
|
||||
try
|
||||
{
|
||||
foreach (PollServiceHttpRequest req in m_retryRequests)
|
||||
|
@ -207,22 +206,21 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
}
|
||||
|
||||
PollServiceHttpRequest wreq;
|
||||
*/
|
||||
|
||||
m_retryRequests.Clear();
|
||||
/*
|
||||
|
||||
while (m_requests.Count() > 0)
|
||||
{
|
||||
try
|
||||
{
|
||||
wreq = m_requests.Dequeue(0);
|
||||
wreq.DoHTTPstop(m_server);
|
||||
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
m_requests.Clear();
|
||||
}
|
||||
|
||||
|
@ -232,7 +230,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
{
|
||||
while (m_running)
|
||||
{
|
||||
PollServiceHttpRequest req = m_requests.Dequeue(5000);
|
||||
PollServiceHttpRequest req = m_requests.Dequeue(4500);
|
||||
Watchdog.UpdateThread();
|
||||
if (req != null)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue