mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Renamed the Helo server connector to a consistent name. Added this in connector to both Robust.HG.ini.example and HypergridServiceInConnectorModule.
This commit is contained in:
@@ -115,6 +115,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Hypergrid
|
||||
m_HypergridHandler = new GatekeeperServiceInConnector(m_Config, MainServer.Instance, simService);
|
||||
|
||||
new UserAgentServerConnector(m_Config, MainServer.Instance);
|
||||
new HeloServiceInConnector(m_Config, MainServer.Instance, "HeloService");
|
||||
}
|
||||
scene.RegisterModuleInterface<IGatekeeperService>(m_HypergridHandler.GateKeeper);
|
||||
}
|
||||
|
||||
@@ -39,9 +39,9 @@ using OpenSim.Server.Handlers.Base;
|
||||
|
||||
namespace OpenSim.Server.Handlers.Hypergrid
|
||||
{
|
||||
public class HeloServiceConnector : ServiceConnector
|
||||
public class HeloServiceInConnector : ServiceConnector
|
||||
{
|
||||
public HeloServiceConnector(IConfigSource config, IHttpServer server, string configName) :
|
||||
public HeloServiceInConnector(IConfigSource config, IHttpServer server, string configName) :
|
||||
base(config, server, configName)
|
||||
{
|
||||
server.AddStreamHandler(new HeloServerGetHandler("opensim-robust"));
|
||||
@@ -68,6 +68,7 @@ namespace OpenSim.Server.Handlers.Hypergrid
|
||||
|
||||
private byte[] OKResponse(OSHttpResponse httpResponse)
|
||||
{
|
||||
m_log.Debug("[HELO]: hi, I was called");
|
||||
httpResponse.AddHeader("X-Handlers-Provided", m_HandlersType);
|
||||
httpResponse.StatusCode = (int)HttpStatusCode.OK;
|
||||
httpResponse.StatusDescription = "OK";
|
||||
|
||||
Reference in New Issue
Block a user