diff options
author | Justin Clark-Casey (justincc) | 2012-05-25 02:02:53 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-05-25 02:02:53 +0100 |
commit | 40c78b06246d1131e07982dc6a9366666d9ea031 (patch) | |
tree | 094bc14aabd790bb97127a6406c17d80a469ceb0 /OpenSim/Framework/TextureRequestArgs.cs | |
parent | In remote QueryAccess, also receive the actual status (true|false) instead of... (diff) | |
download | opensim-SC_OLD-40c78b06246d1131e07982dc6a9366666d9ea031.zip opensim-SC_OLD-40c78b06246d1131e07982dc6a9366666d9ea031.tar.gz opensim-SC_OLD-40c78b06246d1131e07982dc6a9366666d9ea031.tar.bz2 opensim-SC_OLD-40c78b06246d1131e07982dc6a9366666d9ea031.tar.xz |
Stop it being possible for an agent to teleport back to its source region before the source region has finished cleaning up old agent data and structures.
If this is allowed, then the client usually gets forcibly logged out and data structures might be put into bad states.
To prevent this, the binary state machine of EMT.m_agentsInTransit is replaced with a 4 state machine (Preparing, Transferring, ReceivedAtDestination, CleaningUp).
This is necessary because the source region needs to know when the destination region has received the user but a teleport back cannot happen until the source region has cleaned up.
Tested on standalone, grid and with v1 and v3 clients.
Diffstat (limited to 'OpenSim/Framework/TextureRequestArgs.cs')
0 files changed, 0 insertions, 0 deletions