aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie Thielker2010-07-03 20:29:06 +0200
committerMelanie Thielker2010-07-03 20:29:06 +0200
commitbaa20a10c34e9e2f5a9d5388806f4b4f76222a2f (patch)
treea11fbf08e42ec78eb655f8a3285ed68a13ba56f2
parentFix IMs the right way. This sets it up so that timestamps are actually (diff)
parentUse SendTransferAbort in a more sensible place (diff)
downloadopensim-SC-baa20a10c34e9e2f5a9d5388806f4b4f76222a2f.zip
opensim-SC-baa20a10c34e9e2f5a9d5388806f4b4f76222a2f.tar.gz
opensim-SC-baa20a10c34e9e2f5a9d5388806f4b4f76222a2f.tar.bz2
opensim-SC-baa20a10c34e9e2f5a9d5388806f4b4f76222a2f.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 14b716b..4dfd5d1 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -11511,12 +11511,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11511 11511
11512// m_log.DebugFormat("[CLIENT]: {0} requesting asset {1}", Name, requestID); 11512// m_log.DebugFormat("[CLIENT]: {0} requesting asset {1}", Name, requestID);
11513 11513
11514 if (!m_assetService.Get(requestID.ToString(), transferRequest, AssetReceived)) 11514
11515 { 11515 //Note, the bool returned from the below function is useless since it is always false.
11516 //We need to send a TransferAbort here, so the client doesn't wait forever for the asset, 11516 m_assetService.Get(requestID.ToString(), transferRequest, AssetReceived);
11517 //which causes it to not request any more for a while. Which is bad. 11517
11518 SendTransferAbort(transferRequest);
11519 }
11520 } 11518 }
11521 11519
11522 /// <summary> 11520 /// <summary>
@@ -11565,8 +11563,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11565 } 11563 }
11566 11564
11567 //m_log.DebugFormat("[ASSET CACHE]: Asset transfer request for asset which is {0} already known to be missing. Dropping", requestID); 11565 //m_log.DebugFormat("[ASSET CACHE]: Asset transfer request for asset which is {0} already known to be missing. Dropping", requestID);
11568 11566
11569 // FIXME: We never tell the client about assets which do not exist when requested by this transfer mechanism, which can't be right. 11567 //We need to send a TransferAbort here, so the client doesn't wait forever for the asset,
11568 //which causes it to not request any more for a while. Which is bad.
11569 SendTransferAbort(transferRequest);
11570 return; 11570 return;
11571 } 11571 }
11572 11572