mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
dont let http keepalive and context reuse be true
This commit is contained in:
@@ -148,6 +148,7 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
_httpResponse.Connection = ConnectionType.Close;
|
||||
_httpResponse.KeepAlive = 0;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
_httpResponse.Connection = ConnectionType.KeepAlive;
|
||||
@@ -320,6 +321,11 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
public void Send()
|
||||
{
|
||||
_httpResponse.Body.Flush();
|
||||
|
||||
// disable this till they are safe to use
|
||||
_httpResponse.Connection = ConnectionType.Close;
|
||||
_httpResponse.Chunked = false;
|
||||
|
||||
_httpResponse.Send();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user