aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/share/RegionLoading
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-09-25 21:35:39 +0100
committerJustin Clark-Casey (justincc)2012-09-25 21:35:39 +0100
commit4fc0cfba3ce1e6545e334f8e34a0e5b45274081e (patch)
tree9ab2bc50763d2858ccd5632294d6697574bd1d4c /share/RegionLoading
parentDocumenting object-related events (diff)
downloadopensim-SC_OLD-4fc0cfba3ce1e6545e334f8e34a0e5b45274081e.zip
opensim-SC_OLD-4fc0cfba3ce1e6545e334f8e34a0e5b45274081e.tar.gz
opensim-SC_OLD-4fc0cfba3ce1e6545e334f8e34a0e5b45274081e.tar.bz2
opensim-SC_OLD-4fc0cfba3ce1e6545e334f8e34a0e5b45274081e.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 'share/RegionLoading')
0 files changed, 0 insertions, 0 deletions