aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Scripting/LSLHttp/UrlModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Dump OpenSim 0.9.0.1 into it's own branch.onefang2019-05-191-216/+326
|
* Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel2016-11-031-34/+62
|
* Another 21 modules' directives moved out of .addin.xmlDiva Canto2012-11-131-0/+2
|
* This partially implements the LSL function to set the responseMic Bowman2012-08-291-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.
* Resolve various race conditions between accessing and removing external ↵Justin Clark-Casey (justincc)2012-06-221-132/+148
| | | | script URLs by more consistently locking on m_UrlMap
* Avoid a race condition where an incoming request to a script external URL ↵Justin Clark-Casey (justincc)2012-06-221-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.
* Change read config paramter from max_urls_per_simulator to ↵Justin Clark-Casey (justincc)2012-06-161-1/+1
| | | | max_external_urls_per_simulator, which is what it was meant to be
* Implement max_external_urls_per_simulator setting in [LL-Functions] to allow ↵Justin Clark-Casey (justincc)2012-06-161-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.
* Fix llGetSimulatorHostname to return configured hostnameBlueWall2012-05-231-0/+4
|
* Temporarily add debug log lines to lsl url request and releaseJustin Clark-Casey (justincc)2012-05-041-0/+13
| | | | To help with http://opensimulator.org/mantis/view.php?id=5993
* Register the UrlModule for script engine events OnScriptRemoved and ↵Justin Clark-Casey (justincc)2012-01-141-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.
* Stop also adding an ordinary http handler when we set up a poll http handler.Justin Clark-Casey (justincc)2011-12-071-11/+6
| | | | It appears that this is entirely unnecessary since the poll http handlers are dealt with on a separate code path.
* Make OpenSim.Framework.Servers.HttpServer rely on OpenSim.Framework instead ↵Justin Clark-Casey (justincc)2011-10-251-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)
* Add support for llRequestSecureURL() if ssl is enabledBlueWall2011-05-051-5/+56
|
* Calling .Close() on AutoResetEvent and ManualResetEvent (those classes ↵John Hurliman2009-10-091-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
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2009-09-251-4/+3
|
* Moved RegionName from RegionInfo to SimpleRegionInfo.Diva Canto2009-09-221-242/+242
|
* Thank you, Intari, for a patch that implements the missing pieces ofMelanie2009-09-221-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.
* Replace the Replaceable modules nameMelanie2009-08-101-1/+1
|
* * Remove some mono compiler warningsJustin Clark-Casey2009-08-051-3/+3
|
* Formatting cleanup.Jeff Ames2009-07-231-6/+6
|
* Thank you, patnad, for a patch to advance the UrlModule's functionality.Melanie Thielker2009-07-221-6/+9
| | | | | | Mantis #3712
* Committing the interface change and the addition to the modules to getMelanie Thielker2009-07-101-0/+5
| | | | | | the ball rolling on replacable modules. No user functionality yet
* Remove all references to HttpServer from CommsManager (all incarnations)Melanie Thielker2009-07-101-1/+1
| | | | | | Change all uses of the HttpServer properties to use the new singleton
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-011-1/+1
| | | | LICENSE.txt.
* Revert a change I made to get a better URL because it failes under monoMelanie Thielker2009-05-261-1/+1
|
* Couple of tweaks to the URL module: handle script reset gracefully andMelanie Thielker2009-05-261-1/+10
| | | | | | stop crashing http server threads.
* Add copyright headers, formatting cleanup.Jeff Ames2009-05-201-4/+4
|
* Fix up some URL detailsMelanie Thielker2009-05-131-6/+3
|
* Add the port to the generated URL. For some reson this still doesn't want toMelanie Thielker2009-05-131-1/+1
| | | | | | receive requests.
* Make the LSL HTTP server create and give out URLs to scriptsMelanie Thielker2009-05-131-1/+14
|
* Add most of the meat to the LSL HTTP serverMelanie Thielker2009-05-131-11/+123
|
* Plumb request and return URL functions.Melanie Thielker2009-05-131-2/+9
| | | | | | Implements llRequestURL, llRequestSecureURL, llReleaseURL
* Add a skeleton for the LSLHttpServerMelanie Thielker2009-05-131-0/+116