aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/Resources
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-09-25 21:35:39 +0100
committerMelanie2012-09-27 15:25:32 +0100
commit1a902fceb54d9501f489b2ce872a0b03b5b17ad5 (patch)
tree53ad2401c2f901a43278068a096f46a04b6485cb /OpenSim/Data/SQLite/Resources
parentMerge commit '77355295dadaf3be54ac29d6b3d30901e95c0a32' into careminster (diff)
downloadopensim-SC-1a902fceb54d9501f489b2ce872a0b03b5b17ad5.zip
opensim-SC-1a902fceb54d9501f489b2ce872a0b03b5b17ad5.tar.gz
opensim-SC-1a902fceb54d9501f489b2ce872a0b03b5b17ad5.tar.bz2
opensim-SC-1a902fceb54d9501f489b2ce872a0b03b5b17ad5.tar.xz
Fix occasional race condition failure when creating new clothing/body parts in the viewer or updating existing assets.
On creating these items, the viewer sends a UDP AssetUploadRequest followed by a CreateInventoryItem. It was possible for the CreateInventoryItem/UpdateInventoryItem to occasionally outrace the AssetUploadRequest and fail to find an initialized Xfer object, at which point the item create would fail. So instead we always set up a Xfer object on either the asset or inventory item update request. This does not introduce a new race because code already exists to delay the item operation until the asset is uploaded if necessary (but this only worked if the xfer object already existed)
Diffstat (limited to 'OpenSim/Data/SQLite/Resources')
0 files changed, 0 insertions, 0 deletions