aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Let's go easy on authenticating ChildAgentUpdates, otherwise this will be ↵Diva Canto2013-07-141-7/+5
| | | | | | | | chaotic while ppl are using different versions of opensim. Warning only, but no enforcement.
| * Fix broken tests -- the test setup was wrong... sigh.Diva Canto2013-07-141-0/+1
| |
| * Authenticate ChildAgentUpdate too.Diva Canto2013-07-142-16/+29
| |
| * Change the auth token to be the user's sessionid.Diva Canto2013-07-143-6/+6
| |
| * And this fixes the other failing tests. Justin, the thread pool is not being ↵Diva Canto2013-07-131-2/+0
| | | | | | | | initialized in the tests!
| * This should fix the failing test.Diva Canto2013-07-131-2/+1
| |
| * Deleted a line too manyDiva Canto2013-07-131-0/+3
| |
| * Guard against unauthorized agent deletes.Diva Canto2013-07-136-22/+42
| |
| * Deleted GET agent all around. Not used.Diva Canto2013-07-132-38/+0
| |
| * Some more debug to see how many threads are available.Diva Canto2013-07-131-0/+2
| |
| * That didn't fix the problem.Diva Canto2013-07-132-27/+38
| | | | | | | | | | | | Revert "Trying to reduce CPU usage on logins and TPs: trying radical elimination of all FireAndForgets throughout CompleteMovement. There were 4." This reverts commit 682537738008746f0aca22954902f3a4dfbdc95f.
| * Trying to reduce CPU usage on logins and TPs: trying radical elimination of ↵Diva Canto2013-07-132-38/+27
| | | | | | | | all FireAndForgets throughout CompleteMovement. There were 4.
| * This commit effectively reverses the previous one, but it's just to log that ↵Diva Canto2013-07-131-4/+4
| | | | | | | | | | | | we found the root of the rez delay: the priority scheme BestAvatarResponsiveness, which is currently the default, was the culprit. Changing it to FrontBack made the region rez be a lot more natural. BestAvatarResponsiveness introduces the region rez delay in cases where the region is full of avatars with lots of attachments, which is the case in CC load tests. In that case, the inworld prims are sent only after all avatar attachments are sent. Not recommended for regions with heavy avatar traffic!
| * Same issue as previous commit.Diva Canto2013-07-131-3/+4
| |
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2013-07-132-10/+33
| |\
| * | Moved SendInitialDataToMe to earlier in CompleteMovement. Moved ↵Diva Canto2013-07-132-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | TriggerOnMakeRootAgent to the end of CompleteMovement. Justin, if you read this, there's a long story here. Some time ago you placed SendInitialDataToMe at the very beginning of client creation (in LLUDPServer). That is problematic, as we discovered relatively recently: on TPs, as soon as the client starts getting data from child agents, it starts requesting resources back *from the simulator where its root agent is*. We found this to be the problem behind meshes missing on HG TPs (because the viewer was requesting the meshes of the receiving sim from the departing grid). But this affects much more than meshes and HG TPs. It may also explain cloud avatars after a local TP: baked textures are only stored in the simulator, so if a child agent receives a UUID of a baked texture in the destination sim and requests that texture from the departing sim where the root agent is, it will fail to get that texture. Bottom line: we need to delay sending the new simulator data to the viewer until we are absolutely sure that the viewer knows that its main agent is in a new sim. Hence, moving it to CompleteMovement. Now I am trying to tune the initial rez delay that we all experience in the CC. I think that when I fixed the issue described above, I may have moved SendInitialDataToMe to much later than it should be, so now I'm moving to earlier in CompleteMovement.
* | | Add request received/handling stats for caps which are served by http poll ↵Justin Clark-Casey (justincc)2013-07-155-69/+110
| |/ |/| | | | | | | | | | | 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.
* | Reinsert PhysicsActor variable back into SOP.SubscribeForCollisionEvents() ↵Justin Clark-Casey (justincc)2013-07-131-8/+12
| | | | | | | | | | | | | | | | in order to avoid a race condition. A separate PhysicsActor variable is used in case some other thread removes the PhysicsActor whilst this code is executing. If this is now impossible please revert - just adding this now whilst I remember. Also makes method comment into proper method doc.
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-07-131-8/+27
|\ \ | |/
| * Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2013-07-125-98/+285
| |\
| * | Changed UploadBakedTextureModule so that it uses the same pattern as the ↵Diva Canto2013-07-121-8/+27
| | | | | | | | | | | | others, in preparation for experiments to direct baked texture uploads to a robust instance. No functional or configuration changes -- should work exactly as before.
* | | In co-op termination, extend EventWaitHandle to give this an indefinite ↵Justin Clark-Casey (justincc)2013-07-131-2/+21
| |/ |/| | | | | | | | | | | lifetime in order to avoid a later RemotingException if scripts are being loaded into their own domains. This is necessary because XEngineScriptBase now retains a reference to an EventWaitHandle when co-op termination is active. Aims to address http://opensimulator.org/mantis/view.php?id=6634
* | Centralize duplicated code in SceneObjectPart for subscribing toRobert Adams2013-07-111-54/+43
| | | | | | | | | | collision events. Improve logic for knowing when to add processing routine to physics actor.
* | Try naming the materials handlers again, this time registering the POST as ↵Justin Clark-Casey (justincc)2013-07-111-3/+6
| | | | | | | | | | | | | | | | RenderMaterials This was probably the mistake. The other handlers are named RenderMaterials as well but this actully has no affect apart from on stats, due to a (counterintuitive) disconnect between the registration name and the name of the request handler. Will be tested very soon and reverted if this still does not work.
* | minor: remove some regression test logging switches accidentally left ↵Justin Clark-Casey (justincc)2013-07-112-2/+2
| | | | | | | | uncommented.
* | minor: Take out unnecessary clumsy sleep at the end of regression ↵Justin Clark-Casey (justincc)2013-07-111-3/+0
| | | | | | | | | | | | Test404Response(). This wasn't actually necessary in the end but was accidentally left in.
* | Merge branch 'master' of ssh://opensimulator.org/var/git/opensimJustin Clark-Casey (justincc)2013-07-111-7/+5
|\ \ | |/
| * Changed the UserProfileModule so that it's less greedy in terms of thread usage.Diva Canto2013-07-111-7/+5
| |
* | Fix regression where llHTTPRequests which did not get an OK response ↵Justin Clark-Casey (justincc)2013-07-112-40/+238
|/ | | | | | | | returned 499 and the exception message in the http_response event rather than the actual response code and body. This was a regression since commit 831e4c3 (Thu Apr 4 00:36:15 2013) This commit also adds a regression test for this case, though this currently only works with Mono This aims to address http://opensimulator.org/mantis/view.php?id=6704
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2013-07-111-7/+4
|\
| * remove names from Capability handlers (added by justincc in commit ↵dahlia2013-07-101-7/+4
| | | | | | | | 013710168b3878fc0a93a92a1c026efb49da9935) as they seem to disable the use of multiple access methods for a single Capability in MaterialsDemoModule
* | Switched UUIDNameRequest and RegionHandleRequest to Sync, because now they ↵Diva Canto2013-07-111-2/+2
| | | | | | | | are also non-blocking handlers.
* | Switched TransferRequest (UDP packet handler) to sync. The permissions ↵Diva Canto2013-07-111-99/+115
|/ | | | checks may block, so they get a FireAndForget. Everything else is non-blocking.
* Switched RegionHandshakeReply to Sync, because it's not doing anything blocking.Diva Canto2013-07-101-1/+1
|
* EXPERIMENTAL: make RequestImage (UDP packet handler) sync instead of async. ↵Diva Canto2013-07-101-1/+1
| | | | This _shouldn't_ screw things up, given that all this does is to dump the request in a queue.
* show client stats: Fixed the requests/min. Also changed the spelling of the ↵Diva Canto2013-07-101-21/+22
| | | | command, not without the dash.
* Added show client-stats [first last] command to expose what viewers are ↵Diva Canto2013-07-103-17/+137
| | | | requesting.
* Comment out old inbound UDP throttling hack. This would cause the UDPRobert Adams2013-07-091-0/+2
| | | | | | | reception thread to sleep for 30ms if the number of available user worker threads got low. It doesn't look like any of the UDP packet types are marked async so this check is 1) unnecessary and 2) really crazy since it stops up the reception thread under heavy load without any indication.
* Revert "minor: remove some mono compiler warnings in UserProfileModule"Robert Adams2013-07-091-13/+16
| | | | | | | Revert until we understand why all the calls to GetUserProfileServerURI were also commented out. This reverts commit 5f58b9b5526c401e039d27b8c92603ff02421fb8.
* If a sensor is in an attachment, avoid throwing an exception if the attachee ↵Justin Clark-Casey (justincc)2013-07-091-0/+10
| | | | is removed from the scene before we try to retrieve them.
* Handle UUIDNameRequest UDP packet processing async instead of within the ↵Justin Clark-Casey (justincc)2013-07-091-1/+1
| | | | | | main inbound UDP processing loop, to avoid any chance that this is delaying the main udp in loop. The potential impact of this should be lower now that these requests are being placed on a queue.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2013-07-0921-259/+538
|\
| * BulletSim: add parameter to optionally disable vehicle linear deflection.Robert Adams2013-07-092-16/+34
| | | | | | | | | | | | Add parameter to not apply vehicle linear deflection Z forces if vehicle is not colliding. This defaults to 'true' so vehicles will fall even if there is some linear deflection to apply.
| * remove some cruft and trigger a rebuilddahlia2013-07-081-1/+0
| |
| * remove an invalid null UUID check which caused a warningdahlia2013-07-081-8/+1
| |
| * BulletSim: make all the different angularVerticalAttraction algorithmsRobert Adams2013-07-084-138/+146
| | | | | | | | | | | | | | | | selectable from configuration paramters. Changed default algorithm to "1" from previous default as it seems to handle Y axis correction a little better. Add config file independent enablement of vehicle angular forces to make debugging easier (independent testing of forces).
| * minor: remove some mono compiler warnings in UserProfileModuleJustin Clark-Casey (justincc)2013-07-091-16/+13
| |
| * minor: remove mono compiler warnings related to keyframe codeJustin Clark-Casey (justincc)2013-07-082-8/+3
| |
| * minor: remove some mono compiler warnings in OdePluginJustin Clark-Casey (justincc)2013-07-082-2/+1
| |
| * For stat purposes, add names to capability request handlers where these were ↵Justin Clark-Casey (justincc)2013-07-084-10/+20
| | | | | | | | not set