diff options
author | Charles Krinke | 2008-12-14 02:17:12 +0000 |
---|---|---|
committer | Charles Krinke | 2008-12-14 02:17:12 +0000 |
commit | e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02 (patch) | |
tree | 2140979c8cf3f4d4d2b60a355be65abd659508b9 /OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | |
parent | Mantis#2811. Thank you kindly, Diva for a patch that resolves (diff) | |
download | opensim-SC-e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02.zip opensim-SC-e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02.tar.gz opensim-SC-e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02.tar.bz2 opensim-SC-e6eb571c1d19972fe7eb4c3f7de113b1b91f5e02.tar.xz |
Mantis#2725. Thank you kindly, Diva, for a patch that:
Adds missing protocol pieces for EstablishAgentCommunication
event which allows the client to activate CAPS and the EQ for
child agents.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs index 6d3391a..f1f70ff 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | |||
@@ -202,6 +202,7 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
202 | { | 202 | { |
203 | m_AvatarQueueUUIDMapping.Remove(ky); | 203 | m_AvatarQueueUUIDMapping.Remove(ky); |
204 | m_scene.RemoveHTTPHandler("","/CAPS/EQG/" + ky.ToString() + "/"); | 204 | m_scene.RemoveHTTPHandler("","/CAPS/EQG/" + ky.ToString() + "/"); |
205 | m_log.Debug("[EVENTQUEUE]: Removing " + "/CAPS/EQG/" + ky.ToString() + "/"); | ||
205 | } | 206 | } |
206 | 207 | ||
207 | } | 208 | } |
@@ -225,6 +226,7 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
225 | m_QueueUUIDAvatarMapping.Remove(ky); | 226 | m_QueueUUIDAvatarMapping.Remove(ky); |
226 | 227 | ||
227 | } | 228 | } |
229 | |||
228 | m_log.DebugFormat("[EVENTQUEUE]: Client {0} deregistered in region {1}.", AgentID, m_scene.RegionInfo.RegionName); | 230 | m_log.DebugFormat("[EVENTQUEUE]: Client {0} deregistered in region {1}.", AgentID, m_scene.RegionInfo.RegionName); |
229 | } | 231 | } |
230 | 232 | ||
@@ -326,13 +328,14 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
326 | 328 | ||
327 | if (element == null) | 329 | if (element == null) |
328 | { | 330 | { |
329 | // m_log.ErrorFormat("[EVENTQUEUE]: Failed to process queue"); | 331 | //m_log.ErrorFormat("[EVENTQUEUE]: Nothing to process in " + m_scene.RegionInfo.RegionName); |
330 | if (thisID == -1) // close-request | 332 | if (thisID == -1) // close-request |
331 | { | 333 | { |
332 | responsedata["int_response_code"] = 404; | 334 | m_log.ErrorFormat("[EVENTQUEUE]: 404 in " + m_scene.RegionInfo.RegionName); |
335 | responsedata["int_response_code"] = 404; //501; //410; //404; | ||
333 | responsedata["content_type"] = "text/plain"; | 336 | responsedata["content_type"] = "text/plain"; |
334 | responsedata["keepalive"] = false; | 337 | responsedata["keepalive"] = false; |
335 | responsedata["str_response_string"] = ""; | 338 | responsedata["str_response_string"] = "Closed EQG"; |
336 | return responsedata; | 339 | return responsedata; |
337 | } | 340 | } |
338 | responsedata["int_response_code"] = 502; | 341 | responsedata["int_response_code"] = 502; |