diff --git a/OpenSim/Framework/Servers/OSHttpResponse.cs b/OpenSim/Framework/Servers/OSHttpResponse.cs index 549ac27b31..24bf340721 100644 --- a/OpenSim/Framework/Servers/OSHttpResponse.cs +++ b/OpenSim/Framework/Servers/OSHttpResponse.cs @@ -177,7 +177,12 @@ namespace OpenSim.Framework.Servers set { if (HttpServer) - _httpResponse.Connection = ConnectionType.KeepAlive; + { + if (value == true) + _httpResponse.Connection = ConnectionType.KeepAlive; + else + _httpResponse.Connection = ConnectionType.Close; + } else _httpListenerResponse.KeepAlive = value; } diff --git a/bin/HttpServer.dll b/bin/HttpServer.dll index 39860be0c6..f940d13edf 100644 Binary files a/bin/HttpServer.dll and b/bin/HttpServer.dll differ