aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer
diff options
context:
space:
mode:
authorUbitUmarov2014-07-24 23:32:39 +0100
committerUbitUmarov2014-07-24 23:32:39 +0100
commit86a9710e77b76fb8a37faf9dacd22a0973628d92 (patch)
treee66022812a0a64ed0dfb8d93653760281402c654 /OpenSim/Framework/Servers/HttpServer
parentEventQueueGetModule: dont reuse queues, we dont know whats there; make (diff)
downloadopensim-SC-86a9710e77b76fb8a37faf9dacd22a0973628d92.zip
opensim-SC-86a9710e77b76fb8a37faf9dacd22a0973628d92.tar.gz
opensim-SC-86a9710e77b76fb8a37faf9dacd22a0973628d92.tar.bz2
opensim-SC-86a9710e77b76fb8a37faf9dacd22a0973628d92.tar.xz
change previus code, send a NoEvents response back to http server, even
if we know there is no one there, so that the server finishes handling it.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
index 21e52ca..4058229 100644
--- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
+++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
@@ -204,9 +204,6 @@ namespace OpenSim.Framework.Servers.HttpServer
204 { 204 {
205 Hashtable responsedata = req.PollServiceArgs.GetEvents(req.RequestID, req.PollServiceArgs.Id); 205 Hashtable responsedata = req.PollServiceArgs.GetEvents(req.RequestID, req.PollServiceArgs.Id);
206 206
207 if (responsedata == null)
208 continue;
209
210 if (req.PollServiceArgs.Type == PollServiceEventArgs.EventType.LongPoll) // This is the event queue 207 if (req.PollServiceArgs.Type == PollServiceEventArgs.EventType.LongPoll) // This is the event queue
211 { 208 {
212 try 209 try