diff options
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs index aee3e3c..98789be 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |||
@@ -59,8 +59,6 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
59 | 59 | ||
60 | private SmartThreadPool m_threadPool = new SmartThreadPool(20000, 12, 2); | 60 | private SmartThreadPool m_threadPool = new SmartThreadPool(20000, 12, 2); |
61 | 61 | ||
62 | // private int m_timeout = 1000; // increase timeout 250; now use the event one | ||
63 | |||
64 | public PollServiceRequestManager(BaseHttpServer pSrv, uint pWorkerThreadCount, int pTimeout) | 62 | public PollServiceRequestManager(BaseHttpServer pSrv, uint pWorkerThreadCount, int pTimeout) |
65 | { | 63 | { |
66 | m_server = pSrv; | 64 | m_server = pSrv; |
@@ -147,7 +145,6 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
147 | public void Stop() | 145 | public void Stop() |
148 | { | 146 | { |
149 | m_running = false; | 147 | m_running = false; |
150 | // m_timeout = -10000; // cause all to expire | ||
151 | Thread.Sleep(1000); // let the world move | 148 | Thread.Sleep(1000); // let the world move |
152 | 149 | ||
153 | foreach (Thread t in m_workerThreads) | 150 | foreach (Thread t in m_workerThreads) |
@@ -283,14 +280,10 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
283 | } | 280 | } |
284 | finally | 281 | finally |
285 | { | 282 | { |
286 | //response.OutputStream.Close(); | ||
287 | try | 283 | try |
288 | { | 284 | { |
289 | response.OutputStream.Flush(); | 285 | response.OutputStream.Flush(); |
290 | response.Send(); | 286 | response.Send(); |
291 | |||
292 | //if (!response.KeepAlive && response.ReuseContext) | ||
293 | // response.FreeContext(); | ||
294 | } | 287 | } |
295 | catch (Exception e) | 288 | catch (Exception e) |
296 | { | 289 | { |