"reverting" the keep alive changes brought in from avination, to check if that's what's making osgrid fail. This is not really reverting, it's more manually resetting some places (not all) where keep alive is set.

LSLKeyTest
Diva Canto 2016-06-14 08:58:37 -07:00
parent 4be4e98525
commit e0a82a82de
2 changed files with 2 additions and 7 deletions

View File

@ -461,7 +461,7 @@ namespace OpenSim.Framework.Servers.HttpServer
}
OSHttpResponse resp = new OSHttpResponse(new HttpResponse(context, request),context);
resp.ReuseContext = false;
resp.ReuseContext = true;
HandleRequest(req, resp);
// !!!HACK ALERT!!!
@ -1270,8 +1270,7 @@ namespace OpenSim.Framework.Servers.HttpServer
requestStream.Close();
//m_log.DebugFormat("[OGP]: {0}:{1}", request.RawUrl, requestBody);
// response.KeepAlive = true;
response.KeepAlive = false;
response.KeepAlive = true;
OSD llsdRequest = null;
OSD llsdResponse = null;

View File

@ -322,10 +322,6 @@ namespace OpenSim.Framework.Servers.HttpServer
{
_httpResponse.Body.Flush();
// disable this till they are safe to use
_httpResponse.Connection = ConnectionType.Close;
_httpResponse.Chunked = false;
_httpResponse.Send();
}