debug tracing for asset server hangs

This commit is contained in:
Sean Dague
2007-11-01 22:01:26 +00:00
parent 317ef312bd
commit 21e47f8ef0
4 changed files with 20 additions and 5 deletions

View File

@@ -108,9 +108,11 @@ namespace OpenSim.Framework.Communications.Cache
XmlSerializer xs = new XmlSerializer(typeof (AssetBase));
xs.Serialize(s, asset);
RestClient rc = new RestClient(_assetServerUrl);
MainLog.Instance.Verbose("ASSET", "Storing {0}", rc);
rc.AddResourcePath("assets");
rc.RequestMethod = "POST";
rc.Request(s);
MainLog.Instance.Verbose("ASSET", "Stored {0}", rc);
}
catch (Exception e)
{
@@ -131,4 +133,4 @@ namespace OpenSim.Framework.Communications.Cache
#endregion
}
}
}