aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2012-07-15 15:40:23 +0100
committerUbitUmarov2012-07-15 15:40:23 +0100
commit35a5a064b0253052a0f81ae7a1efebf64a21cac1 (patch)
tree35867cee2e7ecad8df6d64e6760d9c528135fac9 /OpenSim/Region
parentmessing around... Let terrain and water have nullphysicsactors, let (diff)
parentEliminate a spurious exception report when a https url is accessed with a wrong (diff)
downloadopensim-SC_OLD-35a5a064b0253052a0f81ae7a1efebf64a21cac1.zip
opensim-SC_OLD-35a5a064b0253052a0f81ae7a1efebf64a21cac1.tar.gz
opensim-SC_OLD-35a5a064b0253052a0f81ae7a1efebf64a21cac1.tar.bz2
opensim-SC_OLD-35a5a064b0253052a0f81ae7a1efebf64a21cac1.tar.xz
Merge branch 'avination' into ubitwork
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs10
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs2
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
index 9c5596b..dcf49a7 100644
--- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
@@ -199,7 +199,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
199 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" }); 199 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" });
200 return urlcode; 200 return urlcode;
201 } 201 }
202 string url = "https://" + m_ExternalHostNameForLSL + ":" + m_HttpsServer.Port.ToString() + "/lslhttps/" + urlcode.ToString() + "/"; 202 string url = "https://" + m_ExternalHostNameForLSL + ":" + m_HttpsServer.Port.ToString() + "/lslhttps/" + urlcode.ToString();
203 203
204 UrlData urlData = new UrlData(); 204 UrlData urlData = new UrlData();
205 urlData.hostID = host.UUID; 205 urlData.hostID = host.UUID;
@@ -212,11 +212,11 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
212 212
213 m_UrlMap[url] = urlData; 213 m_UrlMap[url] = urlData;
214 214
215 string uri = "/lslhttps/" + urlcode.ToString() + "/"; 215 string uri = "/lslhttps/" + urlcode.ToString();
216 216
217 m_HttpsServer.AddPollServiceHTTPHandler( 217 PollServiceEventArgs args = new PollServiceEventArgs(HttpRequestHandler, HasEvents, GetEvents, NoEvents, urlcode, 25000);
218 uri, 218 args.Type = PollServiceEventArgs.EventType.LslHttp;
219 new PollServiceEventArgs(HttpRequestHandler, HasEvents, GetEvents, NoEvents, urlcode,25000)); 219 m_HttpsServer.AddPollServiceHTTPHandler(uri, args);
220 220
221 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_GRANTED", url }); 221 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_GRANTED", url });
222 } 222 }
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
index 1104f45..139c4e8 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
@@ -1238,7 +1238,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1238 { 1238 {
1239 if (!prm.m_outbounds) 1239 if (!prm.m_outbounds)
1240 { 1240 {
1241// if (d.BodyIsEnabled(prm.Body)) 1241 if (d.BodyIsEnabled(prm.Body))
1242 d.SpaceCollide2(StaticSpace, prm.collide_geom, IntPtr.Zero, nearCallback); 1242 d.SpaceCollide2(StaticSpace, prm.collide_geom, IntPtr.Zero, nearCallback);
1243 } 1243 }
1244 } 1244 }