mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
enabled a config option to inventory server to be able to stop it doing the SessionId lookup to the user server. As this ties a inventory server to one userserver/grid.
doing the look up is still enabled by default.
This commit is contained in:
@@ -44,6 +44,7 @@ namespace OpenSim.Framework
|
||||
public string UserRecvKey = String.Empty;
|
||||
public string UserSendKey = String.Empty;
|
||||
public string UserServerURL = String.Empty;
|
||||
public bool SessionLookUp = true;
|
||||
|
||||
public InventoryConfig(string description, string filename)
|
||||
{
|
||||
@@ -71,6 +72,8 @@ namespace OpenSim.Framework
|
||||
"Database Connect String", "", false);
|
||||
configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32,
|
||||
"Http Listener port", DefaultHttpPort.ToString(), false);
|
||||
configMember.addConfigurationOption("session_lookup", ConfigurationOption.ConfigurationTypes.TYPE_BOOLEAN,
|
||||
"Enable Session lookup security", "True", false);
|
||||
}
|
||||
|
||||
public bool handleIncomingConfiguration(string configuration_key, object configuration_result)
|
||||
@@ -98,6 +101,9 @@ namespace OpenSim.Framework
|
||||
case "http_port":
|
||||
HttpPort = (uint) configuration_result;
|
||||
break;
|
||||
case "session_lookup":
|
||||
SessionLookUp = (bool)configuration_result;
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user