diff options
author | Dr Scofield | 2009-05-22 11:37:14 +0000 |
---|---|---|
committer | Dr Scofield | 2009-05-22 11:37:14 +0000 |
commit | ac2fe53e894a52f8caf36535560682c4ee5d0091 (patch) | |
tree | 6cbda8c186ee9342dae878eb14e8965ead8a451a | |
parent | Cleaning up a few HG things. HG Posts may now work in grids, but if the home ... (diff) | |
download | opensim-SC-ac2fe53e894a52f8caf36535560682c4ee5d0091.zip opensim-SC-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.gz opensim-SC-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.bz2 opensim-SC-ac2fe53e894a52f8caf36535560682c4ee5d0091.tar.xz |
adding RemoveXmlRpcHandler to IHttpServer
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 12 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs | 2 |
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 | ||