aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base/HttpServerBase.cs
diff options
context:
space:
mode:
authorMelanie2009-09-29 09:44:12 +0100
committerMelanie2009-09-29 09:44:12 +0100
commit1096103d66d7391943efa85553f46a633cf0d3ee (patch)
treeb960261309079800539eb3d25f1f187d89d0702a /OpenSim/Server/Base/HttpServerBase.cs
parentFixed bug in HG that was causing secondlife:// refs to bomb the client. (diff)
downloadopensim-SC_OLD-1096103d66d7391943efa85553f46a633cf0d3ee.zip
opensim-SC_OLD-1096103d66d7391943efa85553f46a633cf0d3ee.tar.gz
opensim-SC_OLD-1096103d66d7391943efa85553f46a633cf0d3ee.tar.bz2
opensim-SC_OLD-1096103d66d7391943efa85553f46a633cf0d3ee.tar.xz
Fix loading modules with alternate configurations and ports into ROBUST.
Make all current modules support the configuration name option
Diffstat (limited to 'OpenSim/Server/Base/HttpServerBase.cs')
-rw-r--r--OpenSim/Server/Base/HttpServerBase.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Server/Base/HttpServerBase.cs b/OpenSim/Server/Base/HttpServerBase.cs
index 6a1f37c..ed0210f 100644
--- a/OpenSim/Server/Base/HttpServerBase.cs
+++ b/OpenSim/Server/Base/HttpServerBase.cs
@@ -41,7 +41,7 @@ namespace OpenSim.Server.Base
41 { 41 {
42 // Logger 42 // Logger
43 // 43 //
44 // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 44 private static readonly ILog m_Log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
45 45
46 // The http server instance 46 // The http server instance
47 // 47 //
@@ -55,8 +55,14 @@ namespace OpenSim.Server.Base
55 get { return m_HttpServer; } 55 get { return m_HttpServer; }
56 } 56 }
57 57
58 public uint DefaultPort
59 {
60 get { return m_Port; }
61 }
62
58 public IHttpServer GetHttpServer(uint port) 63 public IHttpServer GetHttpServer(uint port)
59 { 64 {
65 m_Log.InfoFormat("[SERVER]: Requested port {0}", port);
60 if (port == m_Port) 66 if (port == m_Port)
61 return HttpServer; 67 return HttpServer;
62 68
@@ -64,6 +70,8 @@ namespace OpenSim.Server.Base
64 return m_Servers[port]; 70 return m_Servers[port];
65 71
66 m_Servers[port] = new BaseHttpServer(port); 72 m_Servers[port] = new BaseHttpServer(port);
73 m_Servers[port].Start();
74
67 return m_Servers[port]; 75 return m_Servers[port];
68 } 76 }
69 77