feat(0.9.3.10): automatische HTTP-Portwahl und bereinigte INI (#171)
* feat(0.9.3.10): update bin/OpenSim.ini * feat(0.9.3.10): update bin/OpenSim.ini.example * feat(0.9.3.10): update OpenSim/Region/Application/ConfigurationLoader.cs * feat(0.9.3.10): update OpenSim/Region/CoreModules/Scripting/XMLRPC/XMLRPCModule.cs * feat(0.9.3.10): update .github/workflows/nexjast-ci.yml * feat(0.9.3.10): update tools/ci/verify_simulator_runtime_profile.py * feat(0.9.3.10): add tools/ci/verify_opensim_autoports.py * feat(0.9.3.10): add doc/NexVerse/OPEN_SIM_INI_PORT_MANAGEMENT_09310.md * test(09310): do not require obsolete commented OGLVoice INI examples * test(09310): do not require obsolete commented OGLVoice INI examples
This commit is contained in:
1 parent
16d219f142
commit
ec05155c3a
10 files changed
+270
-2515
No files matched your search
@@ -127,6 +127,17 @@ namespace OpenSim.Region.CoreModules.Scripting.XMLRPC
|
||||
{
|
||||
}
|
||||
}
|
||||
// -1 shares the resolved simulator HTTP listener. 0 disables XML-RPC.
|
||||
if (m_remoteDataPort == -1)
|
||||
{
|
||||
IConfig network = config.Configs["Network"];
|
||||
int listenerPort = network?.GetInt("http_listener_port", 0) ?? 0;
|
||||
if (listenerPort <= 0 || listenerPort > 65535)
|
||||
throw new InvalidOperationException(
|
||||
"[XMLRPC]: Shared llRemoteData requires an HTTP listener.");
|
||||
m_remoteDataPort = listenerPort;
|
||||
m_log.InfoFormat("[XMLRPC]: Sharing simulator HTTP TCP port {0}", listenerPort);
|
||||
}
|
||||
}
|
||||
|
||||
public void PostInitialise()
|
||||
|
||||
Reference in new issue
Block a user