aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSim.cs
diff options
context:
space:
mode:
authorMelanie Thielker2017-02-01 15:30:17 +0000
committerMelanie Thielker2017-02-01 15:30:17 +0000
commit5ceb315e3463eaa50abf43a4c07cb37d9486b1fd (patch)
treea77a4a317cb395ee6544c13c1267d7ba7c1892ec /OpenSim/Region/Application/OpenSim.cs
parentMake negative asset caching actually work (diff)
downloadopensim-SC-5ceb315e3463eaa50abf43a4c07cb37d9486b1fd.zip
opensim-SC-5ceb315e3463eaa50abf43a4c07cb37d9486b1fd.tar.gz
opensim-SC-5ceb315e3463eaa50abf43a4c07cb37d9486b1fd.tar.bz2
opensim-SC-5ceb315e3463eaa50abf43a4c07cb37d9486b1fd.tar.xz
Secure sim stats with an (optional) password.
There is way too much in these stats to expose them to the world, at least for some of us.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 8022b1e..58178bc 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -211,6 +211,7 @@ namespace OpenSim
211 if (managedStatsURI != String.Empty) 211 if (managedStatsURI != String.Empty)
212 { 212 {
213 string urlBase = String.Format("/{0}/", managedStatsURI); 213 string urlBase = String.Format("/{0}/", managedStatsURI);
214 StatsManager.StatsPassword = managedStatsPassword;
214 MainServer.Instance.AddHTTPHandler(urlBase, StatsManager.HandleStatsRequest); 215 MainServer.Instance.AddHTTPHandler(urlBase, StatsManager.HandleStatsRequest);
215 m_log.InfoFormat("[OPENSIM] Enabling remote managed stats fetch. URL = {0}", urlBase); 216 m_log.InfoFormat("[OPENSIM] Enabling remote managed stats fetch. URL = {0}", urlBase);
216 } 217 }