diff --git a/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs b/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs index a12fe72fdb..8e6970ad65 100644 --- a/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs +++ b/OpenSim/Server/Handlers/Grid/GridInfoHandlers.cs @@ -127,6 +127,7 @@ namespace OpenSim.Server.Handlers.Grid public void RestGetGridInfoMethod(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) { + httpResponse.KeepAlive = false; if (httpRequest.HttpMethod != "GET") { httpResponse.StatusCode = (int)HttpStatusCode.MethodNotAllowed; @@ -165,6 +166,8 @@ namespace OpenSim.Server.Handlers.Grid /// public void JsonGetGridInfoMethod(IOSHttpRequest httpRequest, IOSHttpResponse httpResponse) { + httpResponse.KeepAlive = false; + if (httpRequest.HttpMethod != "GET") { httpResponse.StatusCode = (int)HttpStatusCode.MethodNotAllowed; diff --git a/OpenSim/Server/Handlers/Grid/GridInfoServerInConnector.cs b/OpenSim/Server/Handlers/Grid/GridInfoServerInConnector.cs index 5c157dbd27..b601d3b8fc 100644 --- a/OpenSim/Server/Handlers/Grid/GridInfoServerInConnector.cs +++ b/OpenSim/Server/Handlers/Grid/GridInfoServerInConnector.cs @@ -50,7 +50,7 @@ namespace OpenSim.Server.Handlers.Grid handlers.RestGetGridInfoMethod)); server.AddSimpleStreamHandler(new SimpleStreamHandler("/json_grid_info", handlers.JsonGetGridInfoMethod)); - server.AddXmlRPCHandler("get_grid_info", handlers.XmlRpcGridInfoMethod); + server.AddXmlRPCHandler("get_grid_info", handlers.XmlRpcGridInfoMethod, false); } } }