aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
index bd1c040..c6a3e65 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
@@ -194,7 +194,6 @@ namespace OpenSim.Framework.Servers.HttpServer
194 qu.Clear(); 194 qu.Clear();
195 m_bycontext.Clear(); 195 m_bycontext.Clear();
196 196
197/*
198 try 197 try
199 { 198 {
200 foreach (PollServiceHttpRequest req in m_retryRequests) 199 foreach (PollServiceHttpRequest req in m_retryRequests)
@@ -207,22 +206,21 @@ namespace OpenSim.Framework.Servers.HttpServer
207 } 206 }
208 207
209 PollServiceHttpRequest wreq; 208 PollServiceHttpRequest wreq;
210*/ 209
211 m_retryRequests.Clear(); 210 m_retryRequests.Clear();
212/* 211
213 while (m_requests.Count() > 0) 212 while (m_requests.Count() > 0)
214 { 213 {
215 try 214 try
216 { 215 {
217 wreq = m_requests.Dequeue(0); 216 wreq = m_requests.Dequeue(0);
218 wreq.DoHTTPstop(m_server); 217 wreq.DoHTTPstop(m_server);
219
220 } 218 }
221 catch 219 catch
222 { 220 {
223 } 221 }
224 } 222 }
225*/ 223
226 m_requests.Clear(); 224 m_requests.Clear();
227 } 225 }
228 226
@@ -232,7 +230,7 @@ namespace OpenSim.Framework.Servers.HttpServer
232 { 230 {
233 while (m_running) 231 while (m_running)
234 { 232 {
235 PollServiceHttpRequest req = m_requests.Dequeue(5000); 233 PollServiceHttpRequest req = m_requests.Dequeue(4500);
236 Watchdog.UpdateThread(); 234 Watchdog.UpdateThread();
237 if (req != null) 235 if (req != null)
238 { 236 {