diff options
author | Melanie Thielker | 2009-05-13 20:45:28 +0000 |
---|---|---|
committer | Melanie Thielker | 2009-05-13 20:45:28 +0000 |
commit | 8bea196b5bdeb6376387edd89fd515c8e86ea237 (patch) | |
tree | a9f7cc1ccdd3e385d30c8bf159a5331cb70c188d /OpenSim | |
parent | Make the LSL HTTP server create and give out URLs to scripts (diff) | |
download | opensim-SC-8bea196b5bdeb6376387edd89fd515c8e86ea237.zip opensim-SC-8bea196b5bdeb6376387edd89fd515c8e86ea237.tar.gz opensim-SC-8bea196b5bdeb6376387edd89fd515c8e86ea237.tar.bz2 opensim-SC-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')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs | 2 |
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; |