aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Servers/OSHttpResponse.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpResponse.cs b/OpenSim/Framework/Servers/OSHttpResponse.cs
index 549ac27..24bf340 100644
--- a/OpenSim/Framework/Servers/OSHttpResponse.cs
+++ b/OpenSim/Framework/Servers/OSHttpResponse.cs
@@ -177,7 +177,12 @@ namespace OpenSim.Framework.Servers
177 set 177 set
178 { 178 {
179 if (HttpServer) 179 if (HttpServer)
180 _httpResponse.Connection = ConnectionType.KeepAlive; 180 {
181 if (value == true)
182 _httpResponse.Connection = ConnectionType.KeepAlive;
183 else
184 _httpResponse.Connection = ConnectionType.Close;
185 }
181 else 186 else
182 _httpListenerResponse.KeepAlive = value; 187 _httpListenerResponse.KeepAlive = value;
183 } 188 }