diff options
author | Melanie | 2011-05-27 01:05:02 +0100 |
---|---|---|
committer | Melanie | 2011-05-27 01:05:02 +0100 |
commit | 5cbb203efb0d370e9a7dcacbcbe930353893a3eb (patch) | |
tree | ef0d4964a0edd81911d6c699ea5dcc60f3ea2d02 /OpenSim/Framework/Servers | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
parent | Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/ca... (diff) | |
download | opensim-SC-5cbb203efb0d370e9a7dcacbcbe930353893a3eb.zip opensim-SC-5cbb203efb0d370e9a7dcacbcbe930353893a3eb.tar.gz opensim-SC-5cbb203efb0d370e9a7dcacbcbe930353893a3eb.tar.bz2 opensim-SC-5cbb203efb0d370e9a7dcacbcbe930353893a3eb.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 36c6c75..c12d666 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -1523,11 +1523,20 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1523 | } | 1523 | } |
1524 | else | 1524 | else |
1525 | { | 1525 | { |
1526 | 1526 | try | |
1527 | //m_log.Info("[BASE HTTP SERVER]: Doing HTTP Grunt work with response"); | 1527 | { |
1528 | responsecode = (int)responsedata["int_response_code"]; | 1528 | //m_log.Info("[BASE HTTP SERVER]: Doing HTTP Grunt work with response"); |
1529 | responseString = (string)responsedata["str_response_string"]; | 1529 | responsecode = (int)responsedata["int_response_code"]; |
1530 | contentType = (string)responsedata["content_type"]; | 1530 | responseString = (string)responsedata["str_response_string"]; |
1531 | contentType = (string)responsedata["content_type"]; | ||
1532 | } | ||
1533 | catch | ||
1534 | { | ||
1535 | responsecode = 500; | ||
1536 | responseString = "No response could be obtained"; | ||
1537 | contentType = "text/plain"; | ||
1538 | responsedata = new Hashtable(); | ||
1539 | } | ||
1531 | } | 1540 | } |
1532 | 1541 | ||
1533 | if (responsedata.ContainsKey("error_status_text")) | 1542 | if (responsedata.ContainsKey("error_status_text")) |