aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
diff options
context:
space:
mode:
authorubit2012-09-26 16:44:34 +0200
committerubit2012-09-26 16:44:34 +0200
commit24539a074e3bd85981058d85205e3a4dbc572ff9 (patch)
tree3796c4c22ee4a7cfaadd9195a42c56fb869ec095 /OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parent Seems nothing actually need the request body for getevents. so change (diff)
downloadopensim-SC-24539a074e3bd85981058d85205e3a4dbc572ff9.zip
opensim-SC-24539a074e3bd85981058d85205e3a4dbc572ff9.tar.gz
opensim-SC-24539a074e3bd85981058d85205e3a4dbc572ff9.tar.bz2
opensim-SC-24539a074e3bd85981058d85205e3a4dbc572ff9.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs13
1 files changed, 3 insertions, 10 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
index c234537..c379747 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
@@ -278,15 +278,7 @@ namespace OpenSim.Framework.Servers.HttpServer
278 Thread.Sleep(1000); // let the world move 278 Thread.Sleep(1000); // let the world move
279 279
280 foreach (Thread t in m_workerThreads) 280 foreach (Thread t in m_workerThreads)
281 { 281 Watchdog.AbortThread(t.ManagedThreadId);
282 try
283 {
284 t.Abort();
285 }
286 catch
287 {
288 }
289 }
290 282
291 try 283 try
292 { 284 {
@@ -345,10 +337,11 @@ namespace OpenSim.Framework.Servers.HttpServer
345 if (req.PollServiceArgs.HasEvents(req.RequestID, req.PollServiceArgs.Id)) 337 if (req.PollServiceArgs.HasEvents(req.RequestID, req.PollServiceArgs.Id))
346 { 338 {
347 string strreq = ""; 339 string strreq = "";
348 if (req.PollServiceArgs.GetEventsNeedsRequest) 340 if (req.PollServiceArgs.GetEventsNeedsRequestBody)
349 { 341 {
350 try 342 try
351 { 343 {
344 // should we try to seek back? fear we can't
352 str = new StreamReader(req.Request.Body); 345 str = new StreamReader(req.Request.Body);
353 strreq = str.ReadToEnd(); 346 strreq = str.ReadToEnd();
354 str.Close(); 347 str.Close();