* Event queue is now polling..

* returns FAKEEVENT instead of the connection returning a 502.   It doesn't like our 502's for some reason..  so, in leau of this..    send it a fake event.
* Once again, this is still 'really early' code, so please don't blame us if you have no more threads left.
This commit is contained in:
Teravus Ovares
2008-09-27 22:05:36 +00:00
parent 0e10c85617
commit 98632ee594
4 changed files with 73 additions and 10 deletions

View File

@@ -991,6 +991,7 @@ namespace OpenSim.Framework.Servers
string responseString = (string)responsedata["str_response_string"];
string contentType = (string)responsedata["content_type"];
if (responsedata.ContainsKey("keepalive"))
response.KeepAlive = true;
@@ -1003,7 +1004,7 @@ namespace OpenSim.Framework.Servers
}
// The client ignores anything but 200 here for web login, so ensure that this is 200 for that
response.StatusCode = responsecode;
if (responsecode == (int)OSHttpStatusCode.RedirectMovedPermanently)
@@ -1028,7 +1029,7 @@ namespace OpenSim.Framework.Servers
response.SendChunked = false;
response.ContentLength64 = buffer.Length;
response.ContentEncoding = Encoding.UTF8;
try
{
@@ -1042,6 +1043,7 @@ namespace OpenSim.Framework.Servers
{
response.OutputStream.Close();
}
}
public void SendHTML404(OSHttpResponse response, string host)