Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
commit
2312504b04
|
@ -271,6 +271,10 @@ namespace OpenSim.Services.Connectors
|
||||||
{
|
{
|
||||||
newID = SynchronousRestObjectRequester.
|
newID = SynchronousRestObjectRequester.
|
||||||
MakeRequest<AssetBase, string>("POST", uri, asset);
|
MakeRequest<AssetBase, string>("POST", uri, asset);
|
||||||
|
if (newID == null)
|
||||||
|
{
|
||||||
|
newID = UUID.Zero.ToString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
@ -301,6 +305,10 @@ namespace OpenSim.Services.Connectors
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (asset.UploadAttempts > 0)
|
||||||
|
{
|
||||||
|
m_log.InfoFormat("[Assets] Upload of {0} succeeded after {1} failed attempts", asset.ID.ToString(), asset.UploadAttempts.ToString());
|
||||||
|
}
|
||||||
if (newID != String.Empty)
|
if (newID != String.Empty)
|
||||||
{
|
{
|
||||||
// Placing this here, so that this work with old asset servers that don't send any reply back
|
// Placing this here, so that this work with old asset servers that don't send any reply back
|
||||||
|
|
Loading…
Reference in New Issue