diff options
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpResponse.cs | 7 | ||||
-rw-r--r-- | bin/HttpServer.dll | bin | 139264 -> 139264 bytes |
2 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 | } |
diff --git a/bin/HttpServer.dll b/bin/HttpServer.dll index 39860be..f940d13 100644 --- a/bin/HttpServer.dll +++ b/bin/HttpServer.dll | |||
Binary files differ | |||