Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
commit
dc54581700
|
@ -688,7 +688,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||||
|
|
||||||
if (buffer != null)
|
if (buffer != null)
|
||||||
{
|
{
|
||||||
if (!response.SendChunked)
|
if (!response.SendChunked && response.ContentLength64 <= 0)
|
||||||
response.ContentLength64 = buffer.LongLength;
|
response.ContentLength64 = buffer.LongLength;
|
||||||
|
|
||||||
response.OutputStream.Write(buffer, 0, buffer.Length);
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
|
Loading…
Reference in New Issue