aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2009-09-22 06:19:02 +0100
committerMelanie2009-09-22 06:19:02 +0100
commitdafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37 (patch)
tree914b665eb98aea2fa218cf670a1c591614fe8542 /OpenSim/Region
parentRemove support for executing a handler on poll. It caused other issues (diff)
downloadopensim-SC_OLD-dafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37.zip
opensim-SC_OLD-dafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37.tar.gz
opensim-SC_OLD-dafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37.tar.bz2
opensim-SC_OLD-dafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37.tar.xz
Completely remove the prior implementation of the request event handling
on poll handlers. Introduce a new delegate on the PollServiceEventArgs that allow access to the request headers and body.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs
index 57c5198..0cdd9a8 100644
--- a/OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs
@@ -316,7 +316,7 @@ namespace OpenSim.Region.CoreModules.Framework.EventQueue
316 316
317 // This will persist this beyond the expiry of the caps handlers 317 // This will persist this beyond the expiry of the caps handlers
318 MainServer.Instance.AddPollServiceHTTPHandler( 318 MainServer.Instance.AddPollServiceHTTPHandler(
319 capsBase + EventQueueGetUUID.ToString() + "/", EventQueuePoll, new PollServiceEventArgs(HasEvents, GetEvents, NoEvents, agentID)); 319 capsBase + EventQueueGetUUID.ToString() + "/", EventQueuePoll, new PollServiceEventArgs(null, HasEvents, GetEvents, NoEvents, agentID));
320 320
321 Random rnd = new Random(Environment.TickCount); 321 Random rnd = new Random(Environment.TickCount);
322 lock (m_ids) 322 lock (m_ids)