diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 80d1080..0fde42c 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -689,7 +689,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
689 | 689 | ||
690 | if (buffer != null) | 690 | if (buffer != null) |
691 | { | 691 | { |
692 | if (!response.SendChunked) | 692 | if (!response.SendChunked && response.ContentLength64 <= 0) |
693 | response.ContentLength64 = buffer.LongLength; | 693 | response.ContentLength64 = buffer.LongLength; |
694 | 694 | ||
695 | response.OutputStream.Write(buffer, 0, buffer.Length); | 695 | response.OutputStream.Write(buffer, 0, buffer.Length); |