diff options
author | Diva Canto | 2010-09-08 14:12:01 -0700 |
---|---|---|
committer | Diva Canto | 2010-09-08 14:12:01 -0700 |
commit | d301f3fd6ad65e3eb39cfaff65cd3fbb896fa5c1 (patch) | |
tree | 4d2541c69927a19117d4389884cd767c75bb2238 /OpenSim/Server/Handlers/Hypergrid | |
parent | Added constructor that takes an URL to asset and inventory simian connectors. (diff) | |
download | opensim-SC-d301f3fd6ad65e3eb39cfaff65cd3fbb896fa5c1.zip opensim-SC-d301f3fd6ad65e3eb39cfaff65cd3fbb896fa5c1.tar.gz opensim-SC-d301f3fd6ad65e3eb39cfaff65cd3fbb896fa5c1.tar.bz2 opensim-SC-d301f3fd6ad65e3eb39cfaff65cd3fbb896fa5c1.tar.xz |
Renamed the Helo server connector to a consistent name. Added this in connector to both Robust.HG.ini.example and HypergridServiceInConnectorModule.
Diffstat (limited to 'OpenSim/Server/Handlers/Hypergrid')
-rw-r--r-- | OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs b/OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs index 6c83aff..39baa32 100644 --- a/OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs +++ b/OpenSim/Server/Handlers/Hypergrid/HeloServerConnector.cs | |||
@@ -39,9 +39,9 @@ using OpenSim.Server.Handlers.Base; | |||
39 | 39 | ||
40 | namespace OpenSim.Server.Handlers.Hypergrid | 40 | namespace OpenSim.Server.Handlers.Hypergrid |
41 | { | 41 | { |
42 | public class HeloServiceConnector : ServiceConnector | 42 | public class HeloServiceInConnector : ServiceConnector |
43 | { | 43 | { |
44 | public HeloServiceConnector(IConfigSource config, IHttpServer server, string configName) : | 44 | public HeloServiceInConnector(IConfigSource config, IHttpServer server, string configName) : |
45 | base(config, server, configName) | 45 | base(config, server, configName) |
46 | { | 46 | { |
47 | server.AddStreamHandler(new HeloServerGetHandler("opensim-robust")); | 47 | server.AddStreamHandler(new HeloServerGetHandler("opensim-robust")); |
@@ -68,6 +68,7 @@ namespace OpenSim.Server.Handlers.Hypergrid | |||
68 | 68 | ||
69 | private byte[] OKResponse(OSHttpResponse httpResponse) | 69 | private byte[] OKResponse(OSHttpResponse httpResponse) |
70 | { | 70 | { |
71 | m_log.Debug("[HELO]: hi, I was called"); | ||
71 | httpResponse.AddHeader("X-Handlers-Provided", m_HandlersType); | 72 | httpResponse.AddHeader("X-Handlers-Provided", m_HandlersType); |
72 | httpResponse.StatusCode = (int)HttpStatusCode.OK; | 73 | httpResponse.StatusCode = (int)HttpStatusCode.OK; |
73 | httpResponse.StatusDescription = "OK"; | 74 | httpResponse.StatusDescription = "OK"; |