aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index 24bba2b..504ca8b 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -991,6 +991,7 @@ namespace OpenSim.Framework.Servers
991 string responseString = (string)responsedata["str_response_string"]; 991 string responseString = (string)responsedata["str_response_string"];
992 string contentType = (string)responsedata["content_type"]; 992 string contentType = (string)responsedata["content_type"];
993 993
994
994 if (responsedata.ContainsKey("keepalive")) 995 if (responsedata.ContainsKey("keepalive"))
995 response.KeepAlive = true; 996 response.KeepAlive = true;
996 997
@@ -1003,7 +1004,7 @@ namespace OpenSim.Framework.Servers
1003 } 1004 }
1004 1005
1005 // The client ignores anything but 200 here for web login, so ensure that this is 200 for that 1006 // The client ignores anything but 200 here for web login, so ensure that this is 200 for that
1006 1007
1007 response.StatusCode = responsecode; 1008 response.StatusCode = responsecode;
1008 1009
1009 if (responsecode == (int)OSHttpStatusCode.RedirectMovedPermanently) 1010 if (responsecode == (int)OSHttpStatusCode.RedirectMovedPermanently)
@@ -1028,7 +1029,7 @@ namespace OpenSim.Framework.Servers
1028 response.SendChunked = false; 1029 response.SendChunked = false;
1029 response.ContentLength64 = buffer.Length; 1030 response.ContentLength64 = buffer.Length;
1030 response.ContentEncoding = Encoding.UTF8; 1031 response.ContentEncoding = Encoding.UTF8;
1031 1032
1032 1033
1033 try 1034 try
1034 { 1035 {
@@ -1042,6 +1043,7 @@ namespace OpenSim.Framework.Servers
1042 { 1043 {
1043 response.OutputStream.Close(); 1044 response.OutputStream.Close();
1044 } 1045 }
1046
1045 } 1047 }
1046 1048
1047 public void SendHTML404(OSHttpResponse response, string host) 1049 public void SendHTML404(OSHttpResponse response, string host)