diff options
author | teravus | 2012-11-15 10:05:16 -0500 |
---|---|---|
committer | teravus | 2012-11-15 10:05:16 -0500 |
commit | e9153e1d1aae50024d8cd05fe14a9bce34343a0e (patch) | |
tree | bc111d34f95a26b99c7e34d9e495dc14d1802cc3 /OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | |
parent | Merge master into teravuswork (diff) | |
download | opensim-SC-e9153e1d1aae50024d8cd05fe14a9bce34343a0e.zip opensim-SC-e9153e1d1aae50024d8cd05fe14a9bce34343a0e.tar.gz opensim-SC-e9153e1d1aae50024d8cd05fe14a9bce34343a0e.tar.bz2 opensim-SC-e9153e1d1aae50024d8cd05fe14a9bce34343a0e.tar.xz |
Revert "Merge master into teravuswork", it should have been avination, not master.
This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing
changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs index a2425b5..eb16750 100644 --- a/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs +++ b/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs | |||
@@ -297,9 +297,7 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
297 | { | 297 | { |
298 | if (!IsEnabled) return false; | 298 | if (!IsEnabled) return false; |
299 | _agents.Add(agentName, handler); | 299 | _agents.Add(agentName, handler); |
300 | // return _httpd.AddAgentHandler(agentName, handler); | 300 | return _httpd.AddAgentHandler(agentName, handler); |
301 | |||
302 | return false; | ||
303 | } | 301 | } |
304 | 302 | ||
305 | /// <summary> | 303 | /// <summary> |
@@ -318,7 +316,7 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
318 | if (_agents[agentName] == handler) | 316 | if (_agents[agentName] == handler) |
319 | { | 317 | { |
320 | _agents.Remove(agentName); | 318 | _agents.Remove(agentName); |
321 | // return _httpd.RemoveAgentHandler(agentName, handler); | 319 | return _httpd.RemoveAgentHandler(agentName, handler); |
322 | } | 320 | } |
323 | return false; | 321 | return false; |
324 | } | 322 | } |
@@ -360,10 +358,10 @@ namespace OpenSim.ApplicationPlugins.Rest | |||
360 | _httpd.RemoveStreamHandler(h.HttpMethod, h.Path); | 358 | _httpd.RemoveStreamHandler(h.HttpMethod, h.Path); |
361 | } | 359 | } |
362 | _handlers = null; | 360 | _handlers = null; |
363 | // foreach (KeyValuePair<string, IHttpAgentHandler> h in _agents) | 361 | foreach (KeyValuePair<string, IHttpAgentHandler> h in _agents) |
364 | // { | 362 | { |
365 | // _httpd.RemoveAgentHandler(h.Key, h.Value); | 363 | _httpd.RemoveAgentHandler(h.Key, h.Value); |
366 | // } | 364 | } |
367 | _agents = null; | 365 | _agents = null; |
368 | } | 366 | } |
369 | 367 | ||