Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring. | Justin Clark-Casey (justincc) | 2012-07-25 | 1 | -1/+1 |
| | | | | This better reflects the long-term purpose of that project and matches Monitoring modules. | ||||
* | Prevent race conditions between two threads that call LLClientView.Close() ↵ | Justin Clark-Casey (justincc) | 2012-07-19 | 1 | -15/+14 |
| | | | | simultaneously (e.g. ack timeout and an attempt to reconnect) | ||||
* | Stop redundantly passing in the endpoint to the LLClientView constructor. | Justin Clark-Casey (justincc) | 2012-07-12 | 1 | -1/+1 |
| | | | | This can always be retrieved via the LLUDPClient and is so done in various places already. | ||||
* | refactor: rename Watchdog.WATCHDOG_TIMEOUT_MS to DEFAULT_WATCHDOG_TIMEOUT_MS ↵ | Justin Clark-Casey (justincc) | 2012-07-04 | 1 | -2/+2 |
| | | | | to reflect what it actually is | ||||
* | Add region name to UseCircuitCode log messages | Justin Clark-Casey (justincc) | 2012-06-15 | 1 | -4/+4 |
| | |||||
* | Remove accidental timeout left in during earlier debugging. Has been in ↵ | Justin Clark-Casey (justincc) | 2012-06-12 | 1 | -1/+1 |
| | | | | since two commits ago (b099f26) | ||||
* | Set IClientAPI.IsActive = false early on client removal due to ack timeout ↵ | Justin Clark-Casey (justincc) | 2012-06-12 | 1 | -29/+35 |
| | | | | | | | | rather than using IsLoggingOut flag. IsActive is more appropriate since unack timeout is not due to voluntary logout. This is in line with operations such as manual kick that do not set the IsLoggingOut flag. It's also slightly better race-wise since it reduces the chance of this operation clashing with another reason for client deactivation (e.g. manual kick). | ||||
* | If the simulator closes a root agent due to ack timeout, then send the ↵ | Justin Clark-Casey (justincc) | 2012-06-12 | 1 | -2/+20 |
| | | | | client a kick message with that reason, in case it is somehow still listening. | ||||
* | Instead of retrieving the known client again in LLUDPServer.RemoveClient(), ↵ | Justin Clark-Casey (justincc) | 2012-06-08 | 1 | -21/+10 |
| | | | | | | check the IsLoggingOut flag instead. This is slightly better thread-race wise | ||||
* | If logging a client out due to ack timeout, do this asynchronously rather ↵ | Justin Clark-Casey (justincc) | 2012-06-08 | 1 | -8/+18 |
| | | | | | | | than synchronously on the outgoing packet loop. This is the same async behaviour as normal logouts. This is necessary because the event queue will sleep the thread for 5 seconds on an ack timeout logout as the client isn't around to pick up the final event queue messages. | ||||
* | Add regression test for client logout due to ack timeout. | Justin Clark-Casey (justincc) | 2012-06-08 | 1 | -4/+6 |
| | |||||
* | Remove null checks at top of LLUDPServer.ProcessInPacket(). Neither packet ↵ | Justin Clark-Casey (justincc) | 2012-06-08 | 1 | -8/+1 |
| | | | | nor client are ever null. | ||||
* | Store already retrieve IClientAPI in IncomingPacket structure for later use ↵ | Justin Clark-Casey (justincc) | 2012-06-08 | 1 | -13/+13 |
| | | | | | | rather than doing another retrieve on dequeue. Instead of checking whether the client still exists by trying to retrieve again from the client manager, this patch gets it back from IncomingPacket and checks the IClientAPI.IsActive state. | ||||
* | Log warning if we try to remove a UDP client that has already been removed. | Justin Clark-Casey (justincc) | 2012-06-07 | 1 | -0/+6 |
| | |||||
* | Allow the thread watchdog to accept an alarm method that is invoked if the ↵ | Justin Clark-Casey (justincc) | 2012-06-07 | 1 | -5/+64 |
| | | | | | | | timeout is breached. This alarm can then invoke this to log extra information. This is used in LLUDPServer to show which client was being processed when incoming and outgoing udp watchdog alarms are triggered. | ||||
* | Mantis 4597 AgentPaused packet is ignored. | Talun | 2012-06-05 | 1 | -3/+15 |
| | | | | | | The packet was actually being handled but not acted on. This change extends the default timeout for paused clients to 5 minutes and makes both the paused and non-paused timeout periods configurable. | ||||
* | Tweak log messages on local region to region teleport path to help with ↵ | Justin Clark-Casey (justincc) | 2012-04-26 | 1 | -1/+3 |
| | | | | problem resolution. | ||||
* | minor: Add region name to dropped inbound packet message | Justin Clark-Casey (justincc) | 2012-04-26 | 1 | -1/+3 |
| | |||||
* | Stop spurious scene loop startup timeout alarms for scenes with many prims. | Justin Clark-Casey (justincc) | 2012-02-24 | 1 | -2/+5 |
| | | | | | | | | On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout. | ||||
* | Correct a bug introduced in 1f402fdf (Feb 7 2012) where the delete friends ↵ | Justin Clark-Casey (justincc) | 2012-02-16 | 1 | -3/+3 |
| | | | | grid call would try and contact the wrong uri. Also fixes the build from df960d5 | ||||
* | Add known identity informatio nto log message if an exception is thrown ↵ | Justin Clark-Casey (justincc) | 2012-02-16 | 1 | -36/+53 |
| | | | | during LLUDPServer.HandleUseCircuitCode() | ||||
* | Fix "Abnormal client thread terminations" stat in period CONNECTION ↵ | Justin Clark-Casey (justincc) | 2012-01-24 | 1 | -0/+1 |
| | | | | | | STATISTICS to count the number of times clients are disconnected due to ack timeouts. This has been broken for a long period and would only ever show 0. | ||||
* | Don't reply with an ack packet if the client is not authorized. | Justin Clark-Casey (justincc) | 2011-12-08 | 1 | -42/+29 |
| | |||||
* | Extend TestAddClient() to check that the first packet received is an ack packet | Justin Clark-Casey (justincc) | 2011-12-08 | 1 | -1/+15 |
| | |||||
* | Reactivate BasicCircuitTests.TestAddClient() | Justin Clark-Casey (justincc) | 2011-12-08 | 1 | -1/+19 |
| | | | | This checks that the initial UseCircuitCode packet is handled correctly for a normal client login. | ||||
* | Remove unnecessary AgentCircuitData null check from Scene.AddNewClient(). | Justin Clark-Casey (justincc) | 2011-12-08 | 1 | -4/+4 |
| | | | | | The only caller is the LLUDP stack and this has to validate the UDP circuit itself, so we know that it exists. This allows us to eliminate another null check elsewhere and simplifies the method contract | ||||
* | On a new client circuit, send the initial reply ack to let the client know ↵ | Justin Clark-Casey (justincc) | 2011-12-08 | 1 | -19/+39 |
| | | | | | | | | | it's live before sending other data. This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before. This may stop some avatars appearing grey on login. This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces | ||||
* | Improve some method doc for LLUDPClient, LLUDPServer and UnackedPacketCollection | Justin Clark-Casey (justincc) | 2011-10-12 | 1 | -4/+13 |
| | |||||
* | Remove vestigal RegionStatus.SlaveScene. | Justin Clark-Casey (justincc) | 2011-10-03 | 1 | -15/+7 |
| | | | | This appears to be code clutter since the code that uses this has long gone. | ||||
* | Ensure that packet headers get parsed correctly | Melanie | 2011-07-27 | 1 | -0/+29 |
| | |||||
* | First stab at cleaning up Caps. Compiles. Untested. | Diva Canto | 2011-04-30 | 1 | -0/+1274 |