From 7625438adeb2211ee9c3f6532819eea2a0673c5d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 12 Dec 2007 22:14:43 +0000 Subject: From Michael Osias (IBM) This patch implements the llHttpRequest function via a region module, HttpScriptsRequest. There were bits and peices in LSLLong_cmd_handler, which I moved into the region module, and just check for completed requests and dispatch the http_response callback event instead. works for me as of r2674 --- .../Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index deabec3..99f8d3b 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs @@ -1759,9 +1759,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); } - public void llHTTPRequest(string url, List parameters, string body) + public string llHTTPRequest(string url, List parameters, string body) { - m_LSL_Functions.llHTTPRequest(url, parameters, body); + return m_LSL_Functions.llHTTPRequest(url, parameters, body); } public void llResetLandBanList() -- cgit v1.1