create a new PollServiceHttpRequest req per loop since they can be sent to

another working thread
avinationmerge
UbitUmarov 2012-09-27 00:14:50 +01:00
parent a70352db17
commit a0065ad616
1 changed files with 1 additions and 5 deletions

View File

@ -321,13 +321,9 @@ namespace OpenSim.Framework.Servers.HttpServer
private void PoolWorkerJob()
{
PollServiceHttpRequest req;
StreamReader str;
// while (true)
while (m_running)
{
req = m_requests.Dequeue(5000);
PollServiceHttpRequest req = m_requests.Dequeue(5000);
Watchdog.UpdateThread();
if (req != null)