diff options
Diffstat (limited to 'OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs')
-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 7432dee..aef848d 100644 --- a/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs +++ b/OpenSim/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | |||
@@ -26,7 +26,7 @@ namespace OpenSim.GridInterfaces.Remote | |||
26 | this._remoteAssetServerThread = new Thread(new ThreadStart(RunRequests)); | 26 | this._remoteAssetServerThread = new Thread(new ThreadStart(RunRequests)); |
27 | this._remoteAssetServerThread.IsBackground = true; | 27 | this._remoteAssetServerThread.IsBackground = true; |
28 | this._remoteAssetServerThread.Start(); | 28 | this._remoteAssetServerThread.Start(); |
29 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW,"Remote Asset Server class created"); | 29 | OpenSim.Framework.Console.MainConsole.Instance.Verbose("Remote Asset Server class created"); |
30 | } | 30 | } |
31 | 31 | ||
32 | public void SetReceiver(IAssetReceiver receiver) | 32 | public void SetReceiver(IAssetReceiver receiver) |
@@ -71,7 +71,7 @@ namespace OpenSim.GridInterfaces.Remote | |||
71 | // 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 | 71 | // 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 |
72 | ARequest req = this._assetRequests.Dequeue(); | 72 | ARequest req = this._assetRequests.Dequeue(); |
73 | LLUUID assetID = req.AssetID; | 73 | LLUUID assetID = req.AssetID; |
74 | // OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW," RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID); | 74 | // OpenSim.Framework.Console.MainConsole.Instance.Verbose(" RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID); |
75 | WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID); | 75 | WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID); |
76 | WebResponse AssetResponse = AssetLoad.GetResponse(); | 76 | WebResponse AssetResponse = AssetLoad.GetResponse(); |
77 | byte[] idata = new byte[(int)AssetResponse.ContentLength]; | 77 | byte[] idata = new byte[(int)AssetResponse.ContentLength]; |