diff options
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | 3 |
2 files changed, 1 insertions, 5 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 |
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index e0ce35b..4a2ac86 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |||
@@ -380,8 +380,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
380 | Queue<OSD> queue = GetQueue(pAgentId); | 380 | Queue<OSD> queue = GetQueue(pAgentId); |
381 | if (queue == null) | 381 | if (queue == null) |
382 | { | 382 | { |
383 | //return NoEvents(requestID, pAgentId); | 383 | return NoEvents(requestID, pAgentId); |
384 | return null; | ||
385 | } | 384 | } |
386 | 385 | ||
387 | OSD element; | 386 | OSD element; |