* Applied tleiades patch #435 fixing HttpBaseServer ABEND (thanx!)

afrisby
lbsa71 2007-09-24 11:20:09 +00:00
parent 9795b4f6c8
commit f076c71936
1 changed files with 12 additions and 3 deletions

View File

@ -197,10 +197,19 @@ namespace OpenSim.Framework.Servers
response.SendChunked = false;
response.ContentLength64 = buffer.Length;
response.ContentEncoding = Encoding.UTF8;
try
{
response.OutputStream.Write(buffer, 0, buffer.Length);
}
catch (Exception ex)
{
MainLog.Instance.Warn("HTTPD", "Error - " + ex.Message);
}
finally
{
response.OutputStream.Close();
}
}
public void Start()
{