diff options
author | Melanie Thielker | 2010-07-01 16:41:03 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-01 16:41:03 +0200 |
commit | 2312504b0409e0615ccbf1745b32b935ec2f42ad (patch) | |
tree | f3256c45e5ce8a35786657d1e29e6177da98e3e3 /OpenSim/Services/Connectors | |
parent | Remove trailing slash from HTTP URLs to be compatible with SL (diff) | |
parent | Fix build break (diff) | |
download | opensim-SC-2312504b0409e0615ccbf1745b32b935ec2f42ad.zip opensim-SC-2312504b0409e0615ccbf1745b32b935ec2f42ad.tar.gz opensim-SC-2312504b0409e0615ccbf1745b32b935ec2f42ad.tar.bz2 opensim-SC-2312504b0409e0615ccbf1745b32b935ec2f42ad.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs index ae600bb..94acd6c 100644 --- a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs +++ b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs | |||
@@ -271,6 +271,10 @@ namespace OpenSim.Services.Connectors | |||
271 | { | 271 | { |
272 | newID = SynchronousRestObjectRequester. | 272 | newID = SynchronousRestObjectRequester. |
273 | MakeRequest<AssetBase, string>("POST", uri, asset); | 273 | MakeRequest<AssetBase, string>("POST", uri, asset); |
274 | if (newID == null) | ||
275 | { | ||
276 | newID = UUID.Zero.ToString(); | ||
277 | } | ||
274 | } | 278 | } |
275 | catch (Exception e) | 279 | catch (Exception e) |
276 | { | 280 | { |
@@ -301,6 +305,10 @@ namespace OpenSim.Services.Connectors | |||
301 | } | 305 | } |
302 | else | 306 | else |
303 | { | 307 | { |
308 | if (asset.UploadAttempts > 0) | ||
309 | { | ||
310 | m_log.InfoFormat("[Assets] Upload of {0} succeeded after {1} failed attempts", asset.ID.ToString(), asset.UploadAttempts.ToString()); | ||
311 | } | ||
304 | if (newID != String.Empty) | 312 | if (newID != String.Empty) |
305 | { | 313 | { |
306 | // Placing this here, so that this work with old asset servers that don't send any reply back | 314 | // Placing this here, so that this work with old asset servers that don't send any reply back |