mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
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.
This commit is contained in:
@@ -204,9 +204,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
{
|
||||
Hashtable responsedata = req.PollServiceArgs.GetEvents(req.RequestID, req.PollServiceArgs.Id);
|
||||
|
||||
if (responsedata == null)
|
||||
continue;
|
||||
|
||||
if (req.PollServiceArgs.Type == PollServiceEventArgs.EventType.LongPoll) // This is the event queue
|
||||
{
|
||||
try
|
||||
|
||||
@@ -380,8 +380,7 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
Queue<OSD> queue = GetQueue(pAgentId);
|
||||
if (queue == null)
|
||||
{
|
||||
//return NoEvents(requestID, pAgentId);
|
||||
return null;
|
||||
return NoEvents(requestID, pAgentId);
|
||||
}
|
||||
|
||||
OSD element;
|
||||
|
||||
Reference in New Issue
Block a user