aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs2
-rw-r--r--OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs31
-rw-r--r--OpenSim/Framework/Servers/VersionInfo.cs6
3 files changed, 31 insertions, 8 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 4c381d0..817aa44 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -304,7 +304,7 @@ namespace OpenSim.Framework.Servers
304 304
305 EnhanceVersionInformation(); 305 EnhanceVersionInformation();
306 306
307 m_log.Info("[STARTUP]: OpenSimulator version: " + m_version + Environment.NewLine); 307 m_log.Info("[STARTUP]: Careminster version: " + m_version + Environment.NewLine);
308 // clr version potentially is more confusing than helpful, since it doesn't tell us if we're running under Mono/MS .NET and 308 // clr version potentially is more confusing than helpful, since it doesn't tell us if we're running under Mono/MS .NET and
309 // the clr version number doesn't match the project version number under Mono. 309 // the clr version number doesn't match the project version number under Mono.
310 //m_log.Info("[STARTUP]: Virtual machine runtime version: " + Environment.Version + Environment.NewLine); 310 //m_log.Info("[STARTUP]: Virtual machine runtime version: " + Environment.Version + Environment.NewLine);
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
index 6bffba5..04739fe 100644
--- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs
@@ -1543,11 +1543,34 @@ namespace OpenSim.Framework.Servers.HttpServer
1543 1543
1544 internal void DoHTTPGruntWork(Hashtable responsedata, OSHttpResponse response) 1544 internal void DoHTTPGruntWork(Hashtable responsedata, OSHttpResponse response)
1545 { 1545 {
1546 //m_log.Info("[BASE HTTP SERVER]: Doing HTTP Grunt work with response"); 1546 int responsecode;
1547 int responsecode = (int)responsedata["int_response_code"]; 1547 string responseString;
1548 string responseString = (string)responsedata["str_response_string"]; 1548 string contentType;
1549 string contentType = (string)responsedata["content_type"];
1550 1549
1550 if (responsedata == null)
1551 {
1552 responsecode = 500;
1553 responseString = "No response could be obtained";
1554 contentType = "text/plain";
1555 responsedata = new Hashtable();
1556 }
1557 else
1558 {
1559 try
1560 {
1561 //m_log.Info("[BASE HTTP SERVER]: Doing HTTP Grunt work with response");
1562 responsecode = (int)responsedata["int_response_code"];
1563 responseString = (string)responsedata["str_response_string"];
1564 contentType = (string)responsedata["content_type"];
1565 }
1566 catch
1567 {
1568 responsecode = 500;
1569 responseString = "No response could be obtained";
1570 contentType = "text/plain";
1571 responsedata = new Hashtable();
1572 }
1573 }
1551 1574
1552 if (responsedata.ContainsKey("error_status_text")) 1575 if (responsedata.ContainsKey("error_status_text"))
1553 { 1576 {
diff --git a/OpenSim/Framework/Servers/VersionInfo.cs b/OpenSim/Framework/Servers/VersionInfo.cs
index f30cb7a..b2bb962 100644
--- a/OpenSim/Framework/Servers/VersionInfo.cs
+++ b/OpenSim/Framework/Servers/VersionInfo.cs
@@ -29,11 +29,11 @@ namespace OpenSim
29{ 29{
30 public class VersionInfo 30 public class VersionInfo
31 { 31 {
32 private const string VERSION_NUMBER = "0.7.3"; 32 private const string VERSION_NUMBER = "0.7.3CM";
33 private const Flavour VERSION_FLAVOUR = Flavour.Dev; 33 private const Flavour VERSION_FLAVOUR = Flavour.Dev;
34 34
35 public enum Flavour 35 public enum Flavour
36 { 36 {
37 Unknown, 37 Unknown,
38 Dev, 38 Dev,
39 RC1, 39 RC1,
@@ -49,7 +49,7 @@ namespace OpenSim
49 49
50 public static string GetVersionString(string versionNumber, Flavour flavour) 50 public static string GetVersionString(string versionNumber, Flavour flavour)
51 { 51 {
52 string versionString = "OpenSim " + versionNumber + " " + flavour; 52 string versionString = "Careminster " + versionNumber + " " + flavour;
53 return versionString.PadRight(VERSIONINFO_VERSION_LENGTH); 53 return versionString.PadRight(VERSIONINFO_VERSION_LENGTH);
54 } 54 }
55 55