aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llassetstorage.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:56 -0500
committerJacek Antonelli2008-08-15 23:44:56 -0500
commitc07901e29ed545bbb02e3bddf148fe1104b94e9f (patch)
treef1ada64ce834acd7d92a425efb96c4b86bcf16b1 /linden/indra/llmessage/llassetstorage.h
parentSecond Life viewer sources 1.15.0.2 (diff)
downloadmeta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.zip
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.gz
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.bz2
meta-impy-c07901e29ed545bbb02e3bddf148fe1104b94e9f.tar.xz
Second Life viewer sources 1.15.1.3
Diffstat (limited to 'linden/indra/llmessage/llassetstorage.h')
-rw-r--r--linden/indra/llmessage/llassetstorage.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/linden/indra/llmessage/llassetstorage.h b/linden/indra/llmessage/llassetstorage.h
index 3c7a709..f80a77d 100644
--- a/linden/indra/llmessage/llassetstorage.h
+++ b/linden/indra/llmessage/llassetstorage.h
@@ -48,6 +48,10 @@ class LLAssetStorage;
48class LLVFS; 48class LLVFS;
49class LLSD; 49class LLSD;
50 50
51// anything that takes longer than this to download will abort.
52// HTTP Uploads also timeout if they take longer than this.
53const F32 LL_ASSET_STORAGE_TIMEOUT = 5 * 60.0f;
54
51class LLAssetInfo 55class LLAssetInfo
52{ 56{
53protected: 57protected:
@@ -264,13 +268,6 @@ public:
264 bool store_local = false, 268 bool store_local = false,
265 const LLUUID& requesting_agent_id = LLUUID::null); 269 const LLUUID& requesting_agent_id = LLUUID::null);
266 270
267 // This call will attempt to clear a store asset. This will only
268 // attempt to cancel an upload that has not yet begun. The
269 // callback will be called with an error code.
270 virtual void cancelStoreAsset(
271 const LLUUID& uuid,
272 LLAssetType::EType oatype);
273
274 virtual void checkForTimeouts(); 271 virtual void checkForTimeouts();
275 272
276 void getEstateAsset(const LLHost &object_sim, const LLUUID &agent_id, const LLUUID &session_id, 273 void getEstateAsset(const LLHost &object_sim, const LLUUID &agent_id, const LLUUID &session_id,