diff options
author | Diva Canto | 2016-06-14 08:58:37 -0700 |
---|---|---|
committer | Diva Canto | 2016-06-14 08:58:37 -0700 |
commit | e0a82a82de6fbd62cbcf7a18f5d9b398109948fd (patch) | |
tree | bb4c64257dc1e72eb5e0f7782c19b2ff131c23fb /OpenSim/Framework | |
parent | Revert "Add a few more debug messages to diagnose problems in OSGrid's proxy ... (diff) | |
download | opensim-SC_OLD-e0a82a82de6fbd62cbcf7a18f5d9b398109948fd.zip opensim-SC_OLD-e0a82a82de6fbd62cbcf7a18f5d9b398109948fd.tar.gz opensim-SC_OLD-e0a82a82de6fbd62cbcf7a18f5d9b398109948fd.tar.bz2 opensim-SC_OLD-e0a82a82de6fbd62cbcf7a18f5d9b398109948fd.tar.xz |
"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.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 5 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index cd14212..20bdf17 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -461,7 +461,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
461 | } | 461 | } |
462 | 462 | ||
463 | OSHttpResponse resp = new OSHttpResponse(new HttpResponse(context, request),context); | 463 | OSHttpResponse resp = new OSHttpResponse(new HttpResponse(context, request),context); |
464 | resp.ReuseContext = false; | 464 | resp.ReuseContext = true; |
465 | HandleRequest(req, resp); | 465 | HandleRequest(req, resp); |
466 | 466 | ||
467 | // !!!HACK ALERT!!! | 467 | // !!!HACK ALERT!!! |
@@ -1270,8 +1270,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
1270 | requestStream.Close(); | 1270 | requestStream.Close(); |
1271 | 1271 | ||
1272 | //m_log.DebugFormat("[OGP]: {0}:{1}", request.RawUrl, requestBody); | 1272 | //m_log.DebugFormat("[OGP]: {0}:{1}", request.RawUrl, requestBody); |
1273 | // response.KeepAlive = true; | 1273 | response.KeepAlive = true; |
1274 | response.KeepAlive = false; | ||
1275 | 1274 | ||
1276 | OSD llsdRequest = null; | 1275 | OSD llsdRequest = null; |
1277 | OSD llsdResponse = null; | 1276 | OSD llsdResponse = null; |
diff --git a/OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs b/OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs index 17e9dc2..ccf9c91 100644 --- a/OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs +++ b/OpenSim/Framework/Servers/HttpServer/OSHttpResponse.cs | |||
@@ -322,10 +322,6 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
322 | { | 322 | { |
323 | _httpResponse.Body.Flush(); | 323 | _httpResponse.Body.Flush(); |
324 | 324 | ||
325 | // disable this till they are safe to use | ||
326 | _httpResponse.Connection = ConnectionType.Close; | ||
327 | _httpResponse.Chunked = false; | ||
328 | |||
329 | _httpResponse.Send(); | 325 | _httpResponse.Send(); |
330 | } | 326 | } |
331 | 327 | ||