diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 16 |
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 | ||