aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie Thielker2009-05-13 20:45:28 +0000
committerMelanie Thielker2009-05-13 20:45:28 +0000
commit8bea196b5bdeb6376387edd89fd515c8e86ea237 (patch)
treea9f7cc1ccdd3e385d30c8bf159a5331cb70c188d /OpenSim/Region
parentMake the LSL HTTP server create and give out URLs to scripts (diff)
downloadopensim-SC_OLD-8bea196b5bdeb6376387edd89fd515c8e86ea237.zip
opensim-SC_OLD-8bea196b5bdeb6376387edd89fd515c8e86ea237.tar.gz
opensim-SC_OLD-8bea196b5bdeb6376387edd89fd515c8e86ea237.tar.bz2
opensim-SC_OLD-8bea196b5bdeb6376387edd89fd515c8e86ea237.tar.xz
Add the port to the generated URL. For some reson this still doesn't want to
receive requests.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
index eb0e801..142df4c 100644
--- a/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
+++ b/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs
@@ -121,7 +121,7 @@ namespace OpenSim.Region.CoreModules.Scripting.LSLHttp
121 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" }); 121 engine.PostScriptEvent(itemID, "http_request", new Object[] { urlcode.ToString(), "URL_REQUEST_DENIED", "" });
122 return urlcode; 122 return urlcode;
123 } 123 }
124 string url = "http://"+System.Environment.MachineName+"/lslhttp/"+urlcode.ToString(); 124 string url = "http://"+System.Environment.MachineName+":"+m_HttpServer.Port.ToString()+"/lslhttp/"+urlcode.ToString();
125 125
126 UrlData urlData = new UrlData(); 126 UrlData urlData = new UrlData();
127 urlData.hostID = host.UUID; 127 urlData.hostID = host.UUID;