aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-22Avoid a race condition where an incoming request to a script external URL ↵Justin Clark-Casey (justincc)1-2/+7
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.
2009-09-22Thank you, Intari, for a patch that implements the missing pieces ofMelanie1-2/+2
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-09-22Completely remove the prior implementation of the request event handlingMelanie1-1/+4
on poll handlers. Introduce a new delegate on the PollServiceEventArgs that allow access to the request headers and body.
2009-09-21Add a RequestID (UUID.Random()) to the PollRequest and pass it to allMelanie1-3/+3
even hander delegates.
2009-09-21Add a UUID param to NoEvents in PollServiceEventArgs to make it more genericMelanie1-1/+1
2009-07-29* Adds the ability to have a thread efficient long poll service (such as the ↵Teravus Ovares1-20/+17
eventqueue) * If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users. * Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer * Generic enough to be used for many long poll services, not only the EventQueue.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-04Committing the changed treeMelanie Thielker1-14/+14
2008-05-29cleaning up returned XML REST doclet (no more xsi, xsd) Dr Scofield1-16/+17
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-2/+0
(this took a while to run).
2008-04-17Update svn properties. Add copyright info to some source files.Jeff Ames1-1/+27
2008-04-14* Fixed a few warnings.Teravus Ovares1-3/+3
* Added license info to a few files it was missing from. * Fleshed out the landbuy interfaces * If you add '-helperuri http://127.0.0.1:9000/' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone. Structured gridmode requires a lot more work, see the documentation in the example money module. The example money module is not secure especially in standalone mode.
2008-04-02* Updating the version of the ODE library. (big update). The Mac library ↵Teravus Ovares1-0/+31
needs to be updated still. * Adding some XMPP stuff that's incomplete.