mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +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:
@@ -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