aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Servers/BaseHttpServer.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/BaseHttpServer.cs b/OpenSim/Framework/Servers/BaseHttpServer.cs
index eba49e4..952fb31 100644
--- a/OpenSim/Framework/Servers/BaseHttpServer.cs
+++ b/OpenSim/Framework/Servers/BaseHttpServer.cs
@@ -222,7 +222,8 @@ namespace OpenSim.Framework.Servers
222 222
223 request.InputStream.Close(); 223 request.InputStream.Close();
224 if (!response.IsContentTypeSet) response.ContentType = requestHandler.ContentType; 224 if (!response.IsContentTypeSet) response.ContentType = requestHandler.ContentType;
225 response.ContentLength64 = buffer.LongLength; 225 if (!response.SendChunked)
226 response.ContentLength64 = buffer.LongLength;
226 227
227 try 228 try
228 { 229 {