aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix mergeUbitUmarov2017-01-051-2/+2
|\
| * Massive tab and trailing space cleanupMelanie Thielker2017-01-051-2/+2
| |
* | add a Drop method to PollService Event handlers, Drop requests on ↵UbitUmarov2016-07-171-32/+63
|/ | | | connections known to be lost or delay event check if they are sending a response
* http send is blocking, so we need we need to do it async in all cases. - ↵UbitUmarov2016-07-161-18/+12
| | | | this will need revision after server changes
* at last we can login and see objects ( friends is dead and disable inUbitUmarov2015-09-031-50/+6
| | | | scenepresence)
* seems to compile ( tests comented out)UbitUmarov2015-09-021-156/+26
|
* bad merge?UbitUmarov2015-09-011-22/+193
|\
| * change pollService stop() to send 503 error and no keepalive. ( untested )UbitUmarov2015-08-181-5/+9
| |
| * try to serialize http requests from same connection, so they are processedUbitUmarov2015-08-181-0/+46
| | | | | | | | in order. ( next commits will be about necessary keepAlive changes needed)
| * change/fix previus commitsUbitUmarov2014-10-131-2/+10
| |
| * tune poll smartThreadpool use and give it a nameUbitUmarov2014-10-131-2/+5
| |
| * change previus code, send a NoEvents response back to http server, evenUbitUmarov2014-07-241-3/+0
| | | | | | | | | | if we know there is no one there, so that the server finishes handling it.
| * request.DoHTTPGruntWork(..) is now identical to our version, so useUbitUmarov2014-07-231-40/+5
| | | | | | | | | | those again, getting code closer to os again
| * Merge branch 'master' into careminsterMelanie2013-07-241-2/+2
| |\ | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
| * \ Merge branch 'avination-current' into careminsterMelanie2013-06-111-144/+0
| |\ \
| | * | Clean up poll serviceMelanie2013-06-071-144/+0
| | | |
| * | | Merge branch 'master' into careminsterMelanie2013-06-111-5/+7
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Capabilities/Handlers/GetTexture/GetTextureHandler.cs OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs OpenSim/Services/Connectors/Asset/AssetServicesConnector.cs
| * | | Send 503 when throttling texturesMelanie2013-04-251-1/+1
| | | |
| * | | Merge branch 'master' into careminsterMelanie2013-01-191-4/+12
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs
| * | | | create a new PollServiceHttpRequest req per loop since they can be sent toUbitUmarov2012-09-271-5/+1
| | | | | | | | | | | | | | | | | | | | another working thread
| * | | | just remove the damm thingUbitUmarov2012-09-261-17/+1
| | | | |
| * | | | Seems nothing actually need the request body for getevents. so changeUbitUmarov2012-09-261-1/+2
| | | | | | | | | | | | | | | | | | | | control flag to false
| * | | | keep watchdog happy using it to kill his threadsUbitUmarov2012-09-261-9/+1
| | | | |
| * | | | more changes to PollServiceUbitUmarov2012-09-261-24/+17
| | | | |
| * | | | Change the poll service to use a thread pool for replies to make sure theMelanie2012-09-231-7/+38
| | | | | | | | | | | | | | | | | | | | event queues aren't blocked by other traffic.
| * | | | Revamp the HTTP textures handler to allow a maximum of four fetchesMelanie2012-09-141-2/+1
| | | | | | | | | | | | | | | | | | | | 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 'master' into careminsterMelanie2012-07-281-0/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Monitoring/BaseStatsCollector.cs OpenSim/Region/Application/OpenSim.cs OpenSim/Region/Application/OpenSimBase.cs OpenSim/Region/Framework/Scenes/SceneManager.cs bin/OpenMetaverse.Rendering.Meshmerizer.dll bin/OpenMetaverse.StructuredData.dll bin/OpenMetaverse.dll bin/OpenMetaverseTypes.dll prebuild.xml
| * \ \ \ \ Merge branch 'ubitwork' into avinationMelanie2012-07-171-10/+47
| |\ \ \ \ \
| | * | | | | fix PollServiceRequestManagerUbitUmarov2012-07-171-10/+47
| | | | | | |
| * | | | | | Replace PollServiceRequestManager with older version, add extra logging toMelanie2012-07-171-7/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | event exceptions to see call path leading up to it.
| * | | | | Merge branch 'avination' into careminsterMelanie2012-07-061-0/+236
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceEventArgs.cs OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
| | * | | | | Convert the slow request queue into a regular queue and add some cleanupMelanie2012-07-061-4/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and locking.
| | * | | | | Fix the boo-booMelanie2012-07-051-3/+3
| | | | | | |
| | * | | | | Add an EventType enum and Type field to the poll service event args. This allowsMelanie2012-07-051-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | | | | use the pollEvent timeout paramenter on poolingUbitUmarov2012-07-041-4/+7
| | | | | | |
| | * | | | | *test2* http poll: increased again the pool rate do 10/s but increased ↵UbitUmarov2012-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | timeout to 1s. So data there is less delay when there is new data, but enought waiting time for it to be avaiable
| | * | | | | *test* slow http retries pool rate to original 1sUbitUmarov2012-07-041-1/+1
| | | | | | |
| | * | | | | *TO CHECK/REVIEW/REVERT/TEST whatever* pollService new requests get enqueued ↵UbitUmarov2012-07-011-0/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to unified requests queue directly. Retries get into that every 100ms. 3 working threads as before plus another that only does retries timming.
| * | | | | | Merge branch 'avination' into careminsterMelanie2012-06-291-2/+5
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/Servers/HttpServer/PollServiceWorkerThread.cs
| | * | | | | Add an event to the poll service manager thread to allow starting itMelanie2012-06-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | when needed rather than once per second. That is just too slow!
* | | | | | | refactor: Move methods to start a monitored thread, start work in its own ↵Justin Clark-Casey (justincc)2014-11-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thread and run work in the jobengine from Watchdog to a WorkManager class. This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management. Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget. Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
* | | | | | | Add httpserver.<port>.QueuedPollResponses and ↵Justin Clark-Casey (justincc)2014-03-181-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | httpserver.<port>.ProcessedPollResponses statistics
* | | | | | | minor: Correction to description of QueuedPollResponses since this covers ↵Justin Clark-Casey (justincc)2014-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | long poll and other 'poll' types
* | | | | | | Add httpserver.<port-number>,QueuedPollResponses statJustin Clark-Casey (justincc)2014-03-181-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This shows the number pf poll responses queued for processing.
* | | | | | | Add regression test for http inventory fetch.Justin Clark-Casey (justincc)2014-03-171-71/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Involved some restructuring to allow regression tests to dequeue inventory requests and perform poll responses synchronously rather than async
* | | | | | | remove mono compiler warnings from PollServiceRequestManagerJustin Clark-Casey (justincc)2013-08-171-4/+2
| | | | | | |
* | | | | | | Increased the rate of the PollServiceRequestManager to 0.5 secs (it was ↵Diva Canto2013-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1sec). Group chat is going over the EQ... Hopefully this won't increase CPU when there's nothing going on, but we need to watch for that.
* | | | | | | Removed verbose debug from previous commitDiva Canto2013-07-211-1/+0
| | | | | | |
* | | | | | | PollServiceRequestManager: changed the long poll from a Queue to a List. No ↵Diva Canto2013-07-211-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | need to dequeue and enqueue items every 1sec.