diff options
Diffstat (limited to 'linden/indra/llmessage/llassetstorage.h')
-rw-r--r-- | linden/indra/llmessage/llassetstorage.h | 11 |
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; | |||
48 | class LLVFS; | 48 | class LLVFS; |
49 | class LLSD; | 49 | class 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. | ||
53 | const F32 LL_ASSET_STORAGE_TIMEOUT = 5 * 60.0f; | ||
54 | |||
51 | class LLAssetInfo | 55 | class LLAssetInfo |
52 | { | 56 | { |
53 | protected: | 57 | protected: |
@@ -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, |