mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Remove all references to HttpServer from CommsManager (all incarnations)
Change all uses of the HttpServer properties to use the new singleton
This commit is contained in:
@@ -127,8 +127,8 @@ namespace OpenSim.Region.UserStatistics
|
||||
////
|
||||
|
||||
|
||||
scene.CommsManager.HttpServer.AddHTTPHandler("/SStats/", HandleStatsRequest);
|
||||
scene.CommsManager.HttpServer.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest);
|
||||
MainServer.Instance.AddHTTPHandler("/SStats/", HandleStatsRequest);
|
||||
MainServer.Instance.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest);
|
||||
}
|
||||
|
||||
m_scene.Add(scene);
|
||||
@@ -236,7 +236,7 @@ namespace OpenSim.Region.UserStatistics
|
||||
}
|
||||
else
|
||||
{
|
||||
strOut = m_scene[0].CommsManager.HttpServer.GetHTTP404("");
|
||||
strOut = MainServer.Instance.GetHTTP404("");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user