aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
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