aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-12-21* Adds AbortXfer to the ClientAPI mixTeravus Ovares (Dan Olivares)1-0/+7
* Adds an item that checks to see if the top request has been there for longer then 30 seconds without an update and sends an AbortXfer if it encounters one. This allows the client to cancel the Xfer on it's side so you can re-select the prim and get the inventory when it fails the first time. * Some interesting locking... Using NewFiles to lock the rest of them. We'll see how that goes. * The goal of this is to ensure that Xfers are restartable when they fail. The client will not do that on it's own.
2010-12-17minor: 'debug packet' console command level <= 50 then don't log ↵Justin Clark-Casey (justincc)1-5/+8
ImprovedTerseObjectUpdate messages
2010-12-15Put in locks on m_killRecord to replace changed locks on ↵Justin Clark-Casey (justincc)1-193/+200
m_entityUpdates.SyncRoot These locks are necessary to avoid a delete/update race condition for scene objects. However, since we're now locking on m_killRecord this shouldn't cause delays to m_entityUpdates reprioritization
2010-12-14Another stab at #LoginLag. Looking forward to hear the feedback! This makes ↵Diva Canto1-2/+23
updates for self movement as absolute top priority, going in to the unthrottled category. Self only, not other avies.
2010-12-14Relax a highly constraining lock on m_entityUpdates that may be preventing ↵Diva Canto1-126/+127
reprioritizations from actually happening. #LoginLag
2010-12-13Revamp the viewer -> banlist packet processing so fix a number of bugs.Melanie1-3/+7
Remove the too coarse CanEditParcel method in favor of a CanEditParcelProperties method that takes a GroupPowers argument to specify what action is to be taken. Also, make the method to set parcel data much more granular. Permissions in a deeded setting should now work.
2010-12-13It turns out that the 1/2 sec burst for prims download is not a bug, but a ↵Diva Canto1-11/+2
feature of the client. The client sets the throttles in such a way that makes the server behave like that. The same happens in the Linden Grid. Revert "This may have been the biggest, baddest bug in OpenSim ever... confusion between bytes per second and bytes per millisecond." This reverts commit 870bbcfc6c264c515ac660837d16ccad4e59ac64.
2010-12-13This may have been the biggest, baddest bug in OpenSim ever... confusion ↵Diva Canto1-2/+11
between bytes per second and bytes per millisecond.
2010-12-10Revert "Another stab at mantis #5256"Diva Canto1-20/+19
This reverts commit ccb4f958c0dbb2daad4249a6b97d1c0b008b6a47.
2010-12-10Another stab at mantis #5256Diva Canto1-19/+20
2010-12-10Revert "A stab at mantis #5256. Separate ScenePresence updates from ↵Diva Canto1-150/+128
SceneObject updates, and place them in different queues." This reverts commit f84905e2949d61239c8bff815f8061a9435c124c.
2010-12-10A stab at mantis #5256. Separate ScenePresence updates from SceneObject ↵Diva Canto1-128/+150
updates, and place them in different queues.
2010-12-02Stop LLUDPServer sending updates after object deletes by always queueing deletesJustin Clark-Casey (justincc)3-19/+28
If an LL 1.23.5 client (and possibly earlier and later) receives an object update after a kill object packet, it leaves the deleted prim in the scene until client relog This is possible in LLUDPServer if an object update packet is queued but a kill packet sent immediately. Beyond invasive tracking of kill sending, most expedient solution is to always queue kills, so that they always arrive after updates. In tests, this doesn't appear to affect performance. There is probably still an issue present where an update packet might not be acked and then resent after the kill packet.
2010-12-02minor: add some method docJustin Clark-Casey (justincc)2-0/+22
2010-11-17add "Unacked bytes" column to "show queues"Justin Clark-Casey (justincc)1-1/+2
This should show the number of bytes sent to the client that it has not yet acknowledged.
2010-11-17Fix "show queues" console commandJustin Clark-Casey (justincc)1-3/+19
For each agent, this command shows how many packets have been sent/received and how many bytes remain in each of the send queues (resend, land, texture, etc.) Sometimes useful for diagnostics
2010-11-17Fix gesture and viewer preview sounds not playingMelanie1-2/+3
2010-11-12provide avatar name in log if an exception ends up at the top of an async ↵Justin Clark-Casey (justincc)1-2/+3
packet processing stack
2010-11-08Formatting cleanup.Jeff Ames1-2/+2
2010-10-30Fix logins and avatar appearance. Contains a Migration. May contain nuts.Melanie1-0/+1
This will cause visual params to be persisted along with worn items. With this, alpha and tattoo laters will be saved. Multiple layers MAY work, but not tested because I don't use Viewer 2.
2010-10-30Set async_packet_handling = true by defaultJustin Clark-Casey (justincc)1-1/+1
Setting this to true avoids a 500ms or so client freeze when the LLUDP server thread is taken up with processing a UseCircuitCode packet synchronously. Extensive testing on Wright Plaza appeared to show no bad effects and this seems to reduce login lag considerably. Of course, a lot of login lag is still coming from other sources.
2010-10-30READ CAREFULLY!!! This is a BROKEN commit. It is UNTESTED and INCOMPLETE.Melanie1-6/+15
It contains a major interface version bump and will NOT work with earlier grid services. This is preliminary work that will lead to layers support. Rest appearance services are commented out completely, they will have to be adapted by someone who actually uses them. Remote admin is working, but has no layers support. There is no layers support in the database. Login likely won't work. You have been warned.
2010-10-29Add number of ms it takes to complete UseCircuitCode packet handling to log ↵Justin Clark-Casey (justincc)1-2/+8
for diagnostics
2010-10-22Revert "Merge remote branch 'otakup0pe/mantis5110'"Justin Clark-Casey (justincc)1-1/+1
This reverts commit 21187f459ea2ae590dda4249fa15ebf116d04fe0, reversing changes made to 8f34e46d7449be1c29419a232a8f7f1e5918f03c.
2010-10-21* change the data exchanged within hypergrid transactionsJonathan Freedman1-1/+1
2010-10-21Deleted a verbose and unneeded log message.Diva Canto1-1/+1
2010-10-20Major refactoring of appearance handling.Master ScienceSim1-4/+4
AvatarService -- add two new methods, GetAppearance and SetAppearance to get around the lossy encoding in AvatarData. Preseve the old functions to avoid changing the behavior for ROBUST services. AvatarAppearance -- major refactor, moved the various encoding methods used by AgentCircuitData, ClientAgentUpdate and ScenePresence into one location. Changed initialization. AvatarAttachments -- added a class specifically to handle attachments in preparation for additional functionality that will be needed for viewer 2. AvatarFactory -- removed a number of unused or methods duplicated in other locations. Moved in all appearance event handling from ScenePresence. Required a change to IClientAPI that propogated throughout all the IClientAPI implementations.
2010-10-04Revert "Add linden prim renderer and update libOMV"Melanie1-31/+16
This reverts commit 766ce9a14146dc9814d488364f5c931d0fa96a17.
2010-10-04Revert "Fix a comment marker"Melanie1-1/+1
This reverts commit f89dd85f68e3e05c0ca908e5358d935a6ea3a321.
2010-10-04Fix a comment markerMelanie1-1/+1
2010-10-04Add linden prim renderer and update libOMVMelanie1-16/+31
2010-09-17Send kill packets for avatars, tooMelanie1-0/+4
2010-09-17Send KillPackets on the Task queue rather than the State queueJustin Clark-Casey (justincc)3-2/+17
Object updates are sent on the task queue. It's possible for an object update to be placed on the client queue before a kill packet comes along. The kill packet would then be placed on the state queue and possibly get sent before the update If the update gets sent afterwards then client get undeletable no owner objects until relog Placing the kills in the task queue should mean that they are received after updates. The kill record prevents subsequent updates getting on the queue Comments state that updates are sent via the state queue but this isn't true. If this was the case this problem might not exist.
2010-09-15extend m_entityUpdates.SyncRoot lock in LLClientView.ProcessEntityUpdates() ↵Justin Clark-Casey (justincc)1-49/+49
to reduce scope for kill/update race conditions This is necessary because it was still possible for an entity update packet to be constructed, the thread to pause, a kill to be sent on another thread, and then the original thread to resume and send the update This would result in an update being received after a kill, which results in undeletable ghost objects until the viewer is relogged Extending the lock looks okay since its only taken by kill, update and reprioritize, and both kill and update do not take further locks However, evidence suggests that there is still a kill/update race somewhere
2010-09-13Improve generic message exception logging. Quieten down complaints about ↵Justin Clark-Casey (justincc)1-2/+4
unhandled GenericMessages
2010-09-13Add client name to packet resend log messages to make them a bit more ↵Justin Clark-Casey (justincc)1-3/+7
informative
2010-09-12* Added ISimulationDataService and IEstateDataServiceJohn Hurliman1-24/+9
* Removed StorageManager * CONFIG CHANGE: There are no more database settings in OpenSim.ini. Check the config-include configuration files for region store and estate store database settings
2010-09-12Formatting cleanup.Jeff Ames1-132/+129
2010-09-11Prevent child agents from being blacklisted in the kill record.Melanie1-3/+6
2010-09-07Rolling back the recent libomv update but keeping the ExpiringCache cleanups ↵John Hurliman2-5/+5
(as much as is possible). There was a report of non-finite avatar positions after the update
2010-09-07* Cache null account responses in the SimianUserAccountServiceConnector to ↵John Hurliman2-5/+5
avoid repeated requests for missing avatar IDs * Updated to OpenMetaverse r3442 to fix a timezone issue with ExpiringCache
2010-09-05Remove "Dwell" support from core and replace it with calls to methodsMelanie Thielker1-1/+5
on IDwellModule
2010-09-02Show when appearance is sent to an avatar to help track down failureMelanie Thielker1-0/+1
\to display avatars
2010-08-31reinsert functionality to debug log more levels of incoming and outgoing ↵Justin Clark-Casey (justincc)1-9/+43
client protocol packets These levels correspond to packets that one isn't usually interested in when debugging (e.g. regular outgoing SimStats packets) This is equivalent to what we had a year ago before it was removed. It's extremely crude since it doesn't allow one to pick individual clients or packets. However, it can still be useful when debugging packet race conditions.
2010-08-30Implements parcel media setting persistence and packet / CAPS handlingJonathan Freedman1-62/+70
properly for the new media settings. Signed-off-by: Melanie <melanie@t-data.com>
2010-08-30local commit with parcel media bitsJonathan Freedman1-62/+70
Signed-off-by: Melanie <melanie@t-data.com>
2010-08-28Replace hardcoded 0 with KickFlags provided by the client.Justin Clark-Casey (justincc)1-1/+1
This finally completes http://opensimulator.org/mantis/view.php?id=4356 where this change had been accidentally removed. Thanks Revolution.
2010-08-26Send a null result search packet when no results are passsed inMelanie1-1/+4
2010-08-26Reinstate kill record check that prevents an entity update being sent to a ↵Justin Clark-Casey (justincc)1-1/+19
client after it has been told that the entity has been deleted. On Linden Lab clients and some derivatives, receiving an entity update after an entity deletion notice results in an undeleteable prim that disappears upon client relog. This check was dropped in 0.7 for unknown reasons but renewed testing demonstrates that queued updates can still be present after a scene object has been deleted.
2010-08-24Plumb the region type through to the ProductName field in estate messagesMelanie1-2/+2