diff options
author | Teravus Ovares | 2008-08-26 05:41:07 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-08-26 05:41:07 +0000 |
commit | 1015ca38636b550500719375168646d741f89db1 (patch) | |
tree | 1d53b770647536d32ecdd9d6e0fa79307060a55f /OpenSim/Region/Environment | |
parent | * Workaround for application/llsd+xml requests coming in as application/xml (diff) | |
download | opensim-SC_OLD-1015ca38636b550500719375168646d741f89db1.zip opensim-SC_OLD-1015ca38636b550500719375168646d741f89db1.tar.gz opensim-SC_OLD-1015ca38636b550500719375168646d741f89db1.tar.bz2 opensim-SC_OLD-1015ca38636b550500719375168646d741f89db1.tar.xz |
* It turns out that Mono doesn't currently support setting the Certificate validation handler, however, it throws a NotImplemented exception.
* Added Try/Catch/Message
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs index 5874d9b..89a01f0 100644 --- a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs +++ b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs | |||
@@ -114,7 +114,14 @@ namespace OpenSim.Region.Environment.Modules.InterGrid | |||
114 | if (m_scene.Count == 0) | 114 | if (m_scene.Count == 0) |
115 | { | 115 | { |
116 | scene.AddLLSDHandler("/agent/", ProcessAgentDomainMessage); | 116 | scene.AddLLSDHandler("/agent/", ProcessAgentDomainMessage); |
117 | ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation; | 117 | try |
118 | { | ||
119 | ServicePointManager.ServerCertificateValidationCallback += customXertificateValidation; | ||
120 | } | ||
121 | catch (NotImplementedException) | ||
122 | { | ||
123 | m_log.Error("[OGP]: Certificate validation handler change not supported. You may get ssl certificate validation errors teleporting from your region to some SSL regions."); | ||
124 | } | ||
118 | } | 125 | } |
119 | 126 | ||
120 | if (!m_scene.Contains(scene)) | 127 | if (!m_scene.Contains(scene)) |