aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-01-21implement "show throttles" command for showing current agent throttles and ↵Justin Clark-Casey (justincc)2-3/+6
the server settings. This is in a very crude state, currently. The LindenUDPModule was renamed LindenUDPInfoModule and moved to OptionalModules OptionalModules was given a direct reference to OpenSim.Region.ClientStack.LindenUDP so that it can inspect specific LindenUDP settings without having to generalize those to all client views (some of which may have no concept of the settings involved). This might be ess messy if OpenSim.Region.ClientStack.LindenUDP were a region module instead, like MXP, IRC and NPC
2011-01-19Correct "show queues" to show queued packet numbers for each client instead ↵Justin Clark-Casey (justincc)1-9/+9
of bytes. Byte amounts aren't actually available - this was a misunderstanding of TokenBucket.Content. But raw packet numbers are.
2011-01-17force objectId to UUID.Zero for non-overridden animations in AvatarAnimation ↵dahlia1-1/+4
packet
2011-01-18Prune some of the excess logging for client logins.Justin Clark-Casey (justincc)1-3/+3
Didn't touch the appearance related stuff.
2011-01-17refactor: remove redundant null checksJustin Clark-Casey (justincc)1-30/+15
2011-01-17Fix UnackedBytes client stack statistic as seen in "show queues"Justin Clark-Casey (justincc)2-3/+3
Bytes were being wrongly added again on a resend
2011-01-17objectId in AvatarAnimation packet should be UUID.Zero for non-overridden ↵dahlia1-2/+0
animations
2011-01-05Commented a verbose Debug message in LLUDPServer that got uncommented at ↵Diva Canto1-1/+1
some point.
2010-12-30Implement SendPlacesReplyMelanie1-0/+54
2010-12-23Removed unused code -- this was the previous version of UDP texture sending, ↵Diva Canto1-24/+16
which now lives entirely in LindenUDP space.
2010-12-23* Re-Adding Scene TimeDilation to Object Update Packets.Teravus Ovares (Dan Olivares)1-6/+12
* Added Calculating Time Dilation in the OdePlubin * When multiple object updates are stuffed into one packet, average the time dilation between them as a compromise. * Time Dilation on the update is calculated when the EntityUpdate object is created. The pre-calc-ed TD is stored in the Entity update and used when it goes out on the wire. Previously, it was 1.0 all the time. The time dilation is tied to when the update is created, not when the update is sent.
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-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