diff options
author | Melanie | 2009-09-22 06:19:02 +0100 |
---|---|---|
committer | Melanie | 2009-09-22 06:19:02 +0100 |
commit | dafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37 (patch) | |
tree | 914b665eb98aea2fa218cf670a1c591614fe8542 /OpenSim/Region | |
parent | Remove support for executing a handler on poll. It caused other issues (diff) | |
download | opensim-SC-dafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37.zip opensim-SC-dafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37.tar.gz opensim-SC-dafe5bf05f6d85d4140a0b733f0fbf9a5c43cf37.tar.bz2 opensim-SC-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.cs | 2 |
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) |