aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer
diff options
context:
space:
mode:
authorUbitUmarov2012-09-27 00:14:50 +0100
committerUbitUmarov2012-09-27 00:14:50 +0100
commita0065ad61611b1a078116327f826b109bd90dba4 (patch)
tree5499f953597ecf2b2baac41273a76d3a78fcf266 /OpenSim/Framework/Servers/HttpServer
parent don't send a partial contents report if we are sending all data (diff)
downloadopensim-SC-a0065ad61611b1a078116327f826b109bd90dba4.zip
opensim-SC-a0065ad61611b1a078116327f826b109bd90dba4.tar.gz
opensim-SC-a0065ad61611b1a078116327f826b109bd90dba4.tar.bz2
opensim-SC-a0065ad61611b1a078116327f826b109bd90dba4.tar.xz
create a new PollServiceHttpRequest req per loop since they can be sent to
another working thread
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
index c09bf14..4be8bf4 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
@@ -321,13 +321,9 @@ namespace OpenSim.Framework.Servers.HttpServer
321 321
322 private void PoolWorkerJob() 322 private void PoolWorkerJob()
323 { 323 {
324 PollServiceHttpRequest req;
325 StreamReader str;
326
327// while (true)
328 while (m_running) 324 while (m_running)
329 { 325 {
330 req = m_requests.Dequeue(5000); 326 PollServiceHttpRequest req = m_requests.Dequeue(5000);
331 327
332 Watchdog.UpdateThread(); 328 Watchdog.UpdateThread();
333 if (req != null) 329 if (req != null)