aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-09 19:46:14 +0000
committerJustin Clarke Casey2009-04-09 19:46:14 +0000
commit2176a80bcfc860a49e8d76e9b2c0a66f71303a43 (patch)
treeb691fb408ef02c6a6b0ecb26ac7e363f366be9a7 /OpenSim/Framework
parent* Change SQLite asset UUID to dashed format to be consistent (diff)
downloadopensim-SC_OLD-2176a80bcfc860a49e8d76e9b2c0a66f71303a43.zip
opensim-SC_OLD-2176a80bcfc860a49e8d76e9b2c0a66f71303a43.tar.gz
opensim-SC_OLD-2176a80bcfc860a49e8d76e9b2c0a66f71303a43.tar.bz2
opensim-SC_OLD-2176a80bcfc860a49e8d76e9b2c0a66f71303a43.tar.xz
* Terminate OpenSim startup if we cannot listen to the designated HTTP port
* This makes the problem much more obvious to the user, and OpenSim isn't that useful without inbound http anyway
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 3f3b1b8..fc2d36a 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -1424,8 +1424,12 @@ namespace OpenSim.Framework.Servers
1424 } 1424 }
1425 catch (Exception e) 1425 catch (Exception e)
1426 { 1426 {
1427 m_log.Warn("[HTTPD]: Error - " + e.Message); 1427 m_log.Error("[HTTPD]: Error - " + e.Message);
1428 m_log.Warn("Tip: Do you have permission to listen on port " + m_port + "," + m_sslport + "?"); 1428 m_log.Error("[HTTPD]: Tip: Do you have permission to listen on port " + m_port + ", " + m_sslport + "?");
1429
1430 // We want this exception to halt the entire server since in current configurations we aren't too
1431 // useful without inbound HTTP.
1432 throw e;
1429 } 1433 }
1430 } 1434 }
1431 1435