aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting/LSLHttp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang1-216/+326
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel1-34/+62
2012-11-13Another 21 modules' directives moved out of .addin.xmlDiva Canto1-0/+2
2012-08-29This partially implements the LSL function to set the responseMic Bowman1-1/+19
type for an HTTP request. Since the "official" LSL function limits the use of the response type, it is implemented as osSetContentType with a string for the content mime type and a threat level of high. With this function you should be able to implement rather functional media-on-a-prim application with much less difficulty.
2012-06-22Resolve various race conditions between accessing and removing external ↵Justin Clark-Casey (justincc)1-132/+148
script URLs by more consistently locking on m_UrlMap
2012-06-22Avoid a race condition where an incoming request to a script external URL ↵Justin Clark-Casey (justincc)1-35/+73
can trigger an exception is the URL was being removed at the same time. This involves three steps 1) Return gracefully in UrlModule.HttpRequestHandler() instead of throwing an exception when the url cannot be found in its index 2) Return true instead of false in HasEvents() if no matching request is found in the map. This call will only happen in the first place for raced requests. 3) Return a 404 in GetEvents() if the request is not in the index, rather than a blank 200 OK. Many thanks to Tom Haines in http://opensimulator.org/mantis/view.php?id=6051 for doing some of the work on this.
2012-06-16Change read config paramter from max_urls_per_simulator to ↵Justin Clark-Casey (justincc)1-1/+1
max_external_urls_per_simulator, which is what it was meant to be
2012-06-16Implement max_external_urls_per_simulator setting in [LL-Functions] to allow ↵Justin Clark-Casey (justincc)1-1/+8
configuration of how many urls can be set up by llRequestURL() Defaults remains as 100. This setting is per simulator instead of per region due to how the url script module is structured.
2012-05-23Fix llGetSimulatorHostname to return configured hostnameBlueWall1-0/+4
2012-05-04Temporarily add debug log lines to lsl url request and releaseJustin Clark-Casey (justincc)1-0/+13
To help with http://opensimulator.org/mantis/view.php?id=5993
2012-01-14Register the UrlModule for script engine events OnScriptRemoved and ↵Justin Clark-Casey (justincc)1-1/+8
OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script. Doing this in every script is unnecessary since the event trigger is parameterized by the item id. All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException. Registration moved to UrlModule so that the handler is registered for all script engine implementations. This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
2011-12-07Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)1-11/+6
It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
2011-10-25Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)1-0/+1
of the other way around. This is necessary so that code in HttpServer can use framework facilities such as the thread watchdog for monitoring purposes. Doing this shuffle meant that MainServer was moved into OpenSim/Framework/Servers Also had to make OpenSim.Framework.Console rely on OpenSim.Framework rather than the other way around since it in turn relies on HttpServer MainConsole and some new interfaces had to be moved into OpenSim/Framework to allow this. This can be reverted if parts of OpenSim.Framework stop relying on console presence (cheifly RegionInfo)
2011-05-05Add support for llRequestSecureURL() if ssl is enabledBlueWall1-5/+56
2010-01-29Revert "Updates all IRegionModules to the new style region modules."Melanie1-2/+0
This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
2010-01-23Updates all IRegionModules to the new style region modules.Revolution1-0/+2
Signed-off-by: Melanie <melanie@t-data.com>
2009-10-09Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman1-2/+2
contain an unmanaged resource that will not automatically be disposed when they are GCed), and commenting out some ManualResetEvents that are not in use yet
2009-09-25minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-4/+3
2009-09-23Fix endlines on UrlModule.csTeravus Ovares (Dan Olivares)1-242/+242
2009-09-22Moved RegionName from RegionInfo to SimpleRegionInfo.Diva Canto1-242/+242
2009-09-22Thank you, Intari, for a patch that implements the missing pieces ofMelanie1-37/+269
Http-in and makes the host name for URL generation configurable. Applied with changes: llGetSimulatorHostname was not changed, because the change breaks existing behavior and carries a data exposure risk. That value needs to be configurable, the proposed fixed change is not acceptable.
2009-08-10Replace the Replaceable modules nameMelanie1-1/+1
2009-08-05* Remove some mono compiler warningsJustin Clark-Casey1-3/+3
2009-07-23Formatting cleanup.Jeff Ames1-6/+6
2009-07-22Thank you, patnad, for a patch to advance the UrlModule's functionality.Melanie Thielker1-6/+9
Mantis #3712
2009-07-10Committing the interface change and the addition to the modules to getMelanie Thielker1-0/+5
the ball rolling on replacable modules. No user functionality yet
2009-07-10Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker1-1/+1
Change all uses of the HttpServer properties to use the new singleton
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-26Revert a change I made to get a better URL because it failes under monoMelanie Thielker1-1/+1
2009-05-26Couple of tweaks to the URL module: handle script reset gracefully andMelanie Thielker1-1/+10
stop crashing http server threads.
2009-05-20Add copyright headers, formatting cleanup.Jeff Ames1-4/+4
2009-05-13Fix up some URL detailsMelanie Thielker1-6/+3
2009-05-13Add the port to the generated URL. For some reson this still doesn't want toMelanie Thielker1-1/+1
receive requests.
2009-05-13Make the LSL HTTP server create and give out URLs to scriptsMelanie Thielker1-1/+14
2009-05-13Add most of the meat to the LSL HTTP serverMelanie Thielker1-11/+123
2009-05-13Plumb request and return URL functions.Melanie Thielker1-2/+9
Implements llRequestURL, llRequestSecureURL, llReleaseURL
2009-05-13Add a skeleton for the LSLHttpServerMelanie Thielker1-0/+116