aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-08-29Fix issue with the quit packet being stuck int he queue and a one packet delay.Melanie1-2/+8
Also fix semaphore excetion caused by enqueueing while dequque is taking place.
2012-08-29Remove Justin's addition to avoid sending incoming packets to inactive clientsMelanie1-9/+9
This also causes the initial AgentUpdate to be rejected because our processing is asynchronous.
2012-08-28Add a queue with two priority levels. This is a drop in replacement forMelanie1-2/+111
the BlockingQueue from OMV, but allows two priorities.
2012-08-24Remove debug spamMelanie1-2/+2
2012-08-24Fix background inventory loading (Viewer 3) so it won't lag out the simMelanie1-49/+103
2012-08-21Allow updates sent for right pec to go to the clientMelanie1-1/+1
2012-08-18Make the console output from the reigon console hookableMelanie1-0/+7
2012-08-14Actually add the moduleMelanie1-0/+234
2012-08-14Actually add the moduleMelanie1-0/+234
2012-08-03Consolidate PersistBakedTextures, DelayBeforeAppearanceSend and ↵Justin Clark-Casey (justincc)2-4/+9
DelayBeforeAppearanceSave into [Appearance] section from [Startup] config section so that all appearance settings are in the same place and not in the startup bucket. All these settings are in OpenSimDefaults.ini only. If you are using them then please adjust your OpenSim.ini
2012-08-03Remove another superflouous IsActive setMelanie1-2/+0
2012-08-03Remove a merge artefaci in IsActive handling and restore commented out ↵Melanie1-2/+1
correct one
2012-08-03clientview IsActive use is broken. Suspend it's use keeping it true ( toUbitUmarov1-3/+3
review later)
2012-07-25Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2-2/+2
This better reflects the long-term purpose of that project and matches Monitoring modules.
2012-07-25Add experimental "OpenSim object memory churn" statistics to output of ↵Justin Clark-Casey (justincc)1-2/+2
region console "show stats" command This aims to capture the amount of memory that OpenSim turns over whilst operating a region. This memory is not lost - apart from leaks it is reclaimed by the garbage collector. However, the more memory that gets turned over the more work the GC has to do to reclaim it.
2012-07-24Extend region console "show queues" command to show already collected time ↵Justin Clark-Casey (justincc)1-1/+2
since last packeted received by the simulator from a viewer.
2012-07-21Fix double-ping on logout by not sending a stop packet to the clientMelanie1-1/+1
if the client told us it wants to log out in the first place.
2012-07-19Make LLClientView instant message handling asynchronous rather than ↵Justin Clark-Casey (justincc)1-1/+1
synchronous to prevent long operations from holding up all inbound packet processing. Giving a large folder from one avatar to another was causing a long delay when handled synchronously, since it took some time to retrieve the necessary data from the inventory service. Handling this asynchronously instead stops this delay from disrupting all avatars in the scene. This has been shown in OSGrid. I see no reason for not handling all IM messages asynchronously, just as incoming chat is handled asynchronously, so this has been switched for all instant messages. Thanks to Nebadon for testing this change out.
2012-07-19Prevent race conditions between two threads that call LLClientView.Close() ↵Justin Clark-Casey (justincc)2-30/+57
simultaneously (e.g. ack timeout and an attempt to reconnect)
2012-07-19Fix slow loading of task inventoryMelanie1-3/+7
2012-07-15backkick gitUbitUmarov1-1/+0
2012-07-15just a kick gitUbitUmarov1-0/+1
2012-07-15Remove instrumentation and fix the message delivery issueMelanie1-24/+28
2012-07-15Testing changes and instrumentationMelanie1-3/+20
2012-07-15Save packets received while the client is added and replay them later.Melanie1-0/+34
2012-07-15Revert "Experimentally handle UseCircuitCode synchrnonously"Melanie1-2/+1
This reverts commit e3fa73da96f5612da52d140425f1633494d6edef.
2012-07-15Experimentally handle UseCircuitCode synchrnonouslyMelanie1-1/+2
2012-07-12Stop redundantly passing in the endpoint to the LLClientView constructor.Justin Clark-Casey (justincc)2-5/+2
This can always be retrieved via the LLUDPClient and is so done in various places already.
2012-07-12Remove IClientIPEndpoint client interface for now.Justin Clark-Casey (justincc)1-20/+1
This may well come back in the future when this subinterface is actually used but it currently isn't and I feel the name was poor. Everything uses IClientAPI.RemoveEndPoint which also returned the full endpoint rather than just the ip address.
2012-07-12Remove IClientAPI.GetClientEP() in favour of existing identical ↵Justin Clark-Casey (justincc)1-5/+0
IClientAPI.RemoteEndpoint.
2012-07-04 added a timeout paramenter to PollServiceEventArgs, so each type can define ↵UbitUmarov1-1/+1
it's timeout
2012-07-04refactor: rename Watchdog.WATCHDOG_TIMEOUT_MS to DEFAULT_WATCHDOG_TIMEOUT_MS ↵Justin Clark-Casey (justincc)1-2/+2
to reflect what it actually is
2012-06-29in CreateAvatarUpdateBlock() change updateflags to 0. Original flags seem ↵UbitUmarov1-0/+3
prim related only. This does fix the wrong viewer side move of a avatar in prim edition mode (anv mantis 854), with no apparent side effects .. may need more testing
2012-06-29Add IScene.Name for code clarity to replace the RegionInfo.RegionName used ↵Justin Clark-Casey (justincc)1-2/+1
in many, many log messages.
2012-06-25In AttachmentsModule.DetachSingleAttachmentToInvInternal(), remove ↵Justin Clark-Casey (justincc)1-1/+32
attachment before changing properties for correct inventory serialization. Serialization of attachments requires IsAttachment = false so that correct positions are serialized instead of avatar position. However, doing this when a hud is still attached allows race conditions with update threads, resulting in hud artifacts on other viewers. This change sets SOG.IsDeleted before serialization changes take place (IsDeleted itself is not a serialized property). LLClientView then screens out any deleted SOGs before sending updates to viewers.
2012-06-22 coment out some of previus debug messaged before forgetting about them...UbitUmarov1-2/+2
2012-06-22more debugUbitUmarov1-0/+3
2012-06-22i more debugUbitUmarov1-1/+1
2012-06-22 add a temp debug messageUbitUmarov1-0/+3
2012-06-15Add region name to UseCircuitCode log messagesJustin Clark-Casey (justincc)1-4/+4
2012-06-15Put all debug console commands into a single Debug section rather than ↵Justin Clark-Casey (justincc)1-1/+1
scattering them over other categories
2012-06-15Add main instance to internal MainServer.m_Servers list to simplify internal ↵Justin Clark-Casey (justincc)2-1/+11
logic. This does require the server to be added before it is set as the main Instance
2012-06-15Get rid of some unnecessary null checks in ↵Justin Clark-Casey (justincc)1-9/+5
RegionApplicationBase.StartupSpecific() - a constructor can never return null. Also adds some method doc to MainServer
2012-06-14Fix very recent regression in 917d753 where I put the ++updatesThisCall ↵Justin Clark-Casey (justincc)1-2/+2
outside the batching part of ProcessEntityUpdates() This stopped any batching happening and since this method is called periodically updates were sent very slowly
2012-06-14If we're going to discard a terse update block because it's now someone ↵Justin Clark-Casey (justincc)1-2/+4
else's hud, then don't still add it to the list of blocks for the update message.
2012-06-14Fix a race condition where an object update for a hud could be sent to ↵Justin Clark-Casey (justincc)1-3/+24
non-owner avatars if the hud was attached directly from within the region. If this happens, then the non-owners would see unremovable huds that they did not own until relog, and sometimes even beyond that. This was due to a race between the entity update and the attachment code when moving an object from within scene to a hud.
2012-06-14Fix not sending TransferInfo when an asset is not found. This clogsMelanie1-4/+29
up the sound pipeline in the viewer.
2012-06-14minor: remove unnecessary IsAttachment = false setting for new object in ↵Justin Clark-Casey (justincc)1-1/+0
UploadObjectAssetModule, property always starts as false
2012-06-13minor: refactor part of LLClientView.ProcessEntityUpdates() to remove ↵Justin Clark-Casey (justincc)1-5/+7
duplicate code
2012-06-13Remove long obsolete and unused IClientAPI.KillEndDone()Justin Clark-Casey (justincc)1-4/+0