diff options
author | Dr Scofield | 2008-10-23 10:15:19 +0000 |
---|---|---|
committer | Dr Scofield | 2008-10-23 10:15:19 +0000 |
commit | b91857b8f7809b9bddfa5d36c1ccf84e8142d22b (patch) | |
tree | 3fd68658d7b3611b37d9b5017655f56f3c693d33 /OpenSim/ApplicationPlugins | |
parent | cleaning up commented lines in IRCConnector; changing access_password (diff) | |
download | opensim-SC-b91857b8f7809b9bddfa5d36c1ccf84e8142d22b.zip opensim-SC-b91857b8f7809b9bddfa5d36c1ccf84e8142d22b.tar.gz opensim-SC-b91857b8f7809b9bddfa5d36c1ccf84e8142d22b.tar.bz2 opensim-SC-b91857b8f7809b9bddfa5d36c1ccf84e8142d22b.tar.xz |
Adding AddXmlRpcHandler(name, method, bool) to selectively disable
KeepAlive for certain XmlRpc handlers.
Making use of new AddXmlRpcHandler method in RemoteAdminPlugin to
avoid clients waiting indefinitely for response.
taking note of BaseHttpServer parameter in CommunicationsManager
constructor (was passed it but then just ignored so far).
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index fed6ecb..d7ca679 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -85,20 +85,20 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
85 | m_app = openSim; | 85 | m_app = openSim; |
86 | m_httpd = openSim.HttpServer; | 86 | m_httpd = openSim.HttpServer; |
87 | 87 | ||
88 | m_httpd.AddXmlRPCHandler("admin_create_region", XmlRpcCreateRegionMethod); | 88 | m_httpd.AddXmlRPCHandler("admin_create_region", XmlRpcCreateRegionMethod, false); |
89 | m_httpd.AddXmlRPCHandler("admin_delete_region", XmlRpcDeleteRegionMethod); | 89 | m_httpd.AddXmlRPCHandler("admin_delete_region", XmlRpcDeleteRegionMethod, false); |
90 | m_httpd.AddXmlRPCHandler("admin_shutdown", XmlRpcShutdownMethod); | 90 | m_httpd.AddXmlRPCHandler("admin_shutdown", XmlRpcShutdownMethod, false); |
91 | m_httpd.AddXmlRPCHandler("admin_broadcast", XmlRpcAlertMethod); | 91 | m_httpd.AddXmlRPCHandler("admin_broadcast", XmlRpcAlertMethod, false); |
92 | m_httpd.AddXmlRPCHandler("admin_restart", XmlRpcRestartMethod); | 92 | m_httpd.AddXmlRPCHandler("admin_restart", XmlRpcRestartMethod, false); |
93 | m_httpd.AddXmlRPCHandler("admin_load_heightmap", XmlRpcLoadHeightmapMethod); | 93 | m_httpd.AddXmlRPCHandler("admin_load_heightmap", XmlRpcLoadHeightmapMethod, false); |
94 | m_httpd.AddXmlRPCHandler("admin_create_user", XmlRpcCreateUserMethod); | 94 | m_httpd.AddXmlRPCHandler("admin_create_user", XmlRpcCreateUserMethod, false); |
95 | m_httpd.AddXmlRPCHandler("admin_exists_user", XmlRpcUserExistsMethod); | 95 | m_httpd.AddXmlRPCHandler("admin_exists_user", XmlRpcUserExistsMethod, false); |
96 | m_httpd.AddXmlRPCHandler("admin_update_user", XmlRpcUpdateUserAccountMethod); | 96 | m_httpd.AddXmlRPCHandler("admin_update_user", XmlRpcUpdateUserAccountMethod, false); |
97 | m_httpd.AddXmlRPCHandler("admin_load_xml", XmlRpcLoadXMLMethod); | 97 | m_httpd.AddXmlRPCHandler("admin_load_xml", XmlRpcLoadXMLMethod, false); |
98 | m_httpd.AddXmlRPCHandler("admin_save_xml", XmlRpcSaveXMLMethod); | 98 | m_httpd.AddXmlRPCHandler("admin_save_xml", XmlRpcSaveXMLMethod, false); |
99 | m_httpd.AddXmlRPCHandler("admin_load_oar", XmlRpcLoadOARMethod); | 99 | m_httpd.AddXmlRPCHandler("admin_load_oar", XmlRpcLoadOARMethod, false); |
100 | m_httpd.AddXmlRPCHandler("admin_save_oar", XmlRpcSaveOARMethod); | 100 | m_httpd.AddXmlRPCHandler("admin_save_oar", XmlRpcSaveOARMethod, false); |
101 | m_httpd.AddXmlRPCHandler("admin_region_query", XmlRpcRegionQueryMethod); | 101 | m_httpd.AddXmlRPCHandler("admin_region_query", XmlRpcRegionQueryMethod, false); |
102 | } | 102 | } |
103 | } | 103 | } |
104 | catch (NullReferenceException) | 104 | catch (NullReferenceException) |