diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs b/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs index be00fa7..ca01c68 100644 --- a/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs +++ b/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.GridInterfaces.Remote | |||
53 | this._remoteAssetServerThread = new Thread(new ThreadStart(RunRequests)); | 53 | this._remoteAssetServerThread = new Thread(new ThreadStart(RunRequests)); |
54 | this._remoteAssetServerThread.IsBackground = true; | 54 | this._remoteAssetServerThread.IsBackground = true; |
55 | this._remoteAssetServerThread.Start(); | 55 | this._remoteAssetServerThread.Start(); |
56 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Remote Asset Server class created"); | 56 | OpenSim.Framework.Console.MainLog.Instance.Verbose("Remote Asset Server class created"); |
57 | } | 57 | } |
58 | 58 | ||
59 | public void SetReceiver(IAssetReceiver receiver) | 59 | public void SetReceiver(IAssetReceiver receiver) |
@@ -98,7 +98,7 @@ namespace OpenSim.GridInterfaces.Remote | |||
98 | // 404... THE MAGIC FILE NOT FOUND ERROR, very useful for telling you things such as a file (or asset ;) ) not being found!!!!!!!!!!! it's 2:22AM | 98 | // 404... THE MAGIC FILE NOT FOUND ERROR, very useful for telling you things such as a file (or asset ;) ) not being found!!!!!!!!!!! it's 2:22AM |
99 | ARequest req = this._assetRequests.Dequeue(); | 99 | ARequest req = this._assetRequests.Dequeue(); |
100 | LLUUID assetID = req.AssetID; | 100 | LLUUID assetID = req.AssetID; |
101 | // OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW," RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID); | 101 | // OpenSim.Framework.Console.MainLog.Instance.Verbose(" RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID); |
102 | WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID); | 102 | WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID); |
103 | WebResponse AssetResponse = AssetLoad.GetResponse(); | 103 | WebResponse AssetResponse = AssetLoad.GetResponse(); |
104 | byte[] idata = new byte[(int)AssetResponse.ContentLength]; | 104 | byte[] idata = new byte[(int)AssetResponse.ContentLength]; |