some cleanup

0.9.1.0-post-fixes
UbitUmarov 2018-11-08 01:24:13 +00:00
parent 31e49a7ab3
commit 72d9bbfafb
1 changed files with 5 additions and 5 deletions

View File

@ -83,7 +83,7 @@ namespace OpenSim
mainSSLport, m_networkServersInfo.HttpUsesSSL, mainSSLport, m_networkServersInfo.HttpUsesSSL,
m_networkServersInfo.HttpSSLCN, m_networkServersInfo.HttpSSLCN,
m_networkServersInfo.HttpSSLCertPath, m_networkServersInfo.HttpSSLCNCertPass); m_networkServersInfo.HttpSSLCertPath, m_networkServersInfo.HttpSSLCNCertPass);
m_httpServer.Start(true,true); m_httpServer.Start();
MainServer.AddHttpServer(m_httpServer); MainServer.AddHttpServer(m_httpServer);
} }
@ -92,10 +92,10 @@ namespace OpenSim
if(!m_networkServersInfo.HttpUsesSSL) if(!m_networkServersInfo.HttpUsesSSL)
{ {
m_httpServer = server; m_httpServer = server;
server.Start(true, true); server.Start();
} }
else else
server.Start(false, false); server.Start();
MainServer.AddHttpServer(server); MainServer.AddHttpServer(server);
MainServer.UnSecureInstance = server; MainServer.UnSecureInstance = server;
@ -113,7 +113,7 @@ namespace OpenSim
m_networkServersInfo.cert_pass); m_networkServersInfo.cert_pass);
m_log.InfoFormat("[REGION SERVER]: Starting OOB HTTPS server on port {0}", server.SSLPort); m_log.InfoFormat("[REGION SERVER]: Starting OOB HTTPS server on port {0}", server.SSLPort);
server.Start(true, true); server.Start();
MainServer.AddHttpServer(server); MainServer.AddHttpServer(server);
} }
else else
@ -121,7 +121,7 @@ namespace OpenSim
server = new BaseHttpServer(m_networkServersInfo.https_port); server = new BaseHttpServer(m_networkServersInfo.https_port);
m_log.InfoFormat("[REGION SERVER]: Starting HTTP server on port {0} for external HTTPS", server.Port); m_log.InfoFormat("[REGION SERVER]: Starting HTTP server on port {0} for external HTTPS", server.Port);
server.Start(false, false); server.Start();
MainServer.AddHttpServer(server); MainServer.AddHttpServer(server);
} }
} }