diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/UserConfig.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Framework/UserConfig.cs b/OpenSim/Framework/UserConfig.cs index 4c6b3b8..1cc00c7 100644 --- a/OpenSim/Framework/UserConfig.cs +++ b/OpenSim/Framework/UserConfig.cs | |||
@@ -43,7 +43,9 @@ namespace OpenSim.Framework | |||
43 | public string DatabaseProvider = ""; | 43 | public string DatabaseProvider = ""; |
44 | 44 | ||
45 | public static uint DefaultHttpPort = 8002; | 45 | public static uint DefaultHttpPort = 8002; |
46 | public static bool DefaultHttpSSL = false; | ||
46 | public uint HttpPort = DefaultHttpPort; | 47 | public uint HttpPort = DefaultHttpPort; |
48 | public bool HttpSSL = DefaultHttpSSL; | ||
47 | public uint DefaultX = 1000; | 49 | public uint DefaultX = 1000; |
48 | public uint DefaultY = 1000; | 50 | public uint DefaultY = 1000; |
49 | 51 | ||
@@ -80,6 +82,8 @@ namespace OpenSim.Framework | |||
80 | 82 | ||
81 | configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, | 83 | configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, |
82 | "Http Listener port", DefaultHttpPort.ToString(), false); | 84 | "Http Listener port", DefaultHttpPort.ToString(), false); |
85 | configMember.addConfigurationOption("http_ssl", ConfigurationOption.ConfigurationTypes.TYPE_BOOLEAN, | ||
86 | "Use SSL? true/false", DefaultHttpSSL.ToString(), false); | ||
83 | configMember.addConfigurationOption("default_X", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, | 87 | configMember.addConfigurationOption("default_X", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, |
84 | "Known good region X", "1000", false); | 88 | "Known good region X", "1000", false); |
85 | configMember.addConfigurationOption("default_Y", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, | 89 | configMember.addConfigurationOption("default_Y", ConfigurationOption.ConfigurationTypes.TYPE_UINT32, |
@@ -111,6 +115,9 @@ namespace OpenSim.Framework | |||
111 | case "http_port": | 115 | case "http_port": |
112 | HttpPort = (uint) configuration_result; | 116 | HttpPort = (uint) configuration_result; |
113 | break; | 117 | break; |
118 | case "http_ssl": | ||
119 | HttpSSL = (bool)configuration_result; | ||
120 | break; | ||
114 | case "default_X": | 121 | case "default_X": |
115 | DefaultX = (uint)configuration_result; | 122 | DefaultX = (uint)configuration_result; |
116 | break; | 123 | break; |