aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into careminsterMelanie2013-07-241-2/+16
|\ | | | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
| * Reverting the reverts I did yesterday. cpu-branch has now beenDiva Canto2013-07-181-2/+2
| | | | | | | | | | | | | | | | successfully tested, and I'm merging back those changes, which proved to be good. Revert "Revert "Cleared up much confusion in PollServiceRequestManager. Here's the history:"" This reverts commit fa2370b32ee57a07f27501152c3c705a883b13d8.
| * Revert "Cleared up much confusion in PollServiceRequestManager. Here's the ↵Diva Canto2013-07-171-2/+2
| | | | | | | | | | | | history:" This reverts commit e46459ef21e1ee5ceaeca70365a7c881d33b09ce.
| * Cleared up much confusion in PollServiceRequestManager. Here's the history:Diva Canto2013-07-171-2/+2
| | | | | | | | | | | | When Melanie added the web fetch inventory throttle to core, she made the long poll requests (EQs) effectively be handled on an active loop. All those requests, if they existed, were being constantly dequeued, checked for events (which most often they didn't have), and requeued again. This was an active loop thread on a 100ms cycle! This fixes the issue. Now the inventory requests, if they aren't ready to be served, are placed directly back in the queue, but the long poll requests aren't placed there until there are events ready to be sent or timeout has been reached. This puts the LongPollServiceWatcherThread back to 1sec cycle, as it was before.
| * Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)2013-07-151-0/+14
| | | | | | | | | | | | | | handlers. This adds explicit cap poll handler supporting to the Caps classes rather than relying on callers to do the complicated coding. Other refactoring was required to get logic into the right places to support this.
| * Supply proper type information for the various types of requestsMelanie2013-06-071-3/+1
| |
| * Adding Avination's PollService to round out the HTTP inventory changesMelanie2013-06-071-3/+16
| |
* | * Prep work switching the GetMeshModule over to a poll service.teravus2012-11-091-1/+2
| | | | | | | | * This still has the image throttler in it.. as is... so it's not suitable for live yet.... The throttler keeps track of the task throttle but doesn't balance the UDP throttle yet.
* | just remove the damm thingUbitUmarov2012-09-261-8/+1
| |
* | Seems nothing actually need the request body for getevents. so changeUbitUmarov2012-09-261-2/+8
| | | | | | | | control flag to false
* | more changes to PollServiceUbitUmarov2012-09-261-0/+1
| |
* | Revamp the HTTP textures handler to allow a maximum of four fetchesMelanie2012-09-141-1/+2
| | | | | | | | at any time and to drop requests for avatars n longer in the scene
* | Fix background inventory loading (Viewer 3) so it won't lag out the simMelanie2012-08-241-1/+2
| |
* | Merge branch 'avination' into careminsterMelanie2012-07-061-2/+12
|\ \ | |/ |/| | | | | | | | | Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| * Add an EventType enum and Type field to the poll service event args. This allowsMelanie2012-07-051-0/+8
| | | | | | | | | | the manager to tell what type of event it is. All events except for lsl http in go to the "slow queue" which is run once per second as before.
| * added a timeout paramenter to PollServiceEventArgs, so each type can define ↵UbitUmarov2012-07-041-1/+4
| | | | | | | | it's timeout
* | Avoid a race condition where an incoming request to a script external URL ↵Justin Clark-Casey (justincc)2012-06-221-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.
* Thank you, Intari, for a patch that implements the missing pieces ofMelanie2009-09-221-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.
* Completely remove the prior implementation of the request event handlingMelanie2009-09-221-1/+4
| | | | | on poll handlers. Introduce a new delegate on the PollServiceEventArgs that allow access to the request headers and body.
* Add a RequestID (UUID.Random()) to the PollRequest and pass it to allMelanie2009-09-211-3/+3
| | | | even hander delegates.
* Add a UUID param to NoEvents in PollServiceEventArgs to make it more genericMelanie2009-09-211-1/+1
|
* * Adds the ability to have a thread efficient long poll service (such as the ↵Teravus Ovares2009-07-291-0/+53
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.