aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDr Scofield2009-05-22 11:37:14 +0000
committerDr Scofield2009-05-22 11:37:14 +0000
commitac2fe53e894a52f8caf36535560682c4ee5d0091 (patch)
tree6cbda8c186ee9342dae878eb14e8965ead8a451a /OpenSim
parentCleaning up a few HG things. HG Posts may now work in grids, but if the home ... (diff)
downloadopensim-SC-ac2fe53e894a52f8caf36535560682c4ee5d0091.zip
opensim-SC-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.gz
opensim-SC-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.bz2
opensim-SC-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.xz
adding RemoveXmlRpcHandler to IHttpServer
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs12
-rw-r--r--OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs2
2 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 779f577..5778214 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -1512,6 +1512,18 @@ namespace OpenSim.Framework.Servers.HttpServer
1512 1512
1513 return false; 1513 return false;
1514 } 1514 }
1515
1516 public void RemoveXmlRPCHandler(string method)
1517 {
1518 lock (m_rpcHandlers)
1519 {
1520 if (m_rpcHandlers.ContainsKey(method))
1521 {
1522 m_rpcHandlers.Remove(method);
1523 }
1524 }
1525 }
1526
1515 1527
1516 public bool RemoveLLSDHandler(string path, LLSDMethod handler) 1528 public bool RemoveLLSDHandler(string path, LLSDMethod handler)
1517 { 1529 {
diff --git a/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs
index 6e3cc49..f7a4c40 100644
--- a/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs
@@ -118,6 +118,8 @@ namespace OpenSim.Framework.Servers.HttpServer
118 bool RemoveLLSDHandler(string path, LLSDMethod handler); 118 bool RemoveLLSDHandler(string path, LLSDMethod handler);
119 119
120 void RemoveStreamHandler(string httpMethod, string path); 120 void RemoveStreamHandler(string httpMethod, string path);
121
122 void RemoveXmlRPCHandler(string method);
121 123
122 string GetHTTP404(string host); 124 string GetHTTP404(string host);
123 125