diff options
author | gareth | 2007-04-30 04:50:25 +0000 |
---|---|---|
committer | gareth | 2007-04-30 04:50:25 +0000 |
commit | ce60ca5e673cd97fb2bcc4f5b943badc717d3527 (patch) | |
tree | 22af777c6f2b22bebfa72ee3312873487b738e7e /OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | |
parent | W00t! It loads a DB! (diff) | |
download | opensim-SC-ce60ca5e673cd97fb2bcc4f5b943badc717d3527.zip opensim-SC-ce60ca5e673cd97fb2bcc4f5b943badc717d3527.tar.gz opensim-SC-ce60ca5e673cd97fb2bcc4f5b943badc717d3527.tar.bz2 opensim-SC-ce60ca5e673cd97fb2bcc4f5b943badc717d3527.tar.xz |
It kinda works...
Loads assets across the network, body shape still broken and not displaying properly in grid mode
Diffstat (limited to 'OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs')
-rw-r--r-- | OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs b/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs index bcebf82..436b148 100644 --- a/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs +++ b/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | |||
@@ -66,8 +66,8 @@ namespace OpenSim.GridInterfaces.Remote | |||
66 | // 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 | 66 | // 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 |
67 | ARequest req = this._assetRequests.Dequeue(); | 67 | ARequest req = this._assetRequests.Dequeue(); |
68 | LLUUID assetID = req.AssetID; | 68 | LLUUID assetID = req.AssetID; |
69 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(" RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID + "/data"); | 69 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(" RemoteAssetServer- Got a AssetServer request, processing it - " + this.AssetServerUrl + "assets/" + assetID); |
70 | WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID + "/data"); | 70 | WebRequest AssetLoad = WebRequest.Create(this.AssetServerUrl + "assets/" + assetID); |
71 | WebResponse AssetResponse = AssetLoad.GetResponse(); | 71 | WebResponse AssetResponse = AssetLoad.GetResponse(); |
72 | byte[] idata = new byte[(int)AssetResponse.ContentLength]; | 72 | byte[] idata = new byte[(int)AssetResponse.ContentLength]; |
73 | BinaryReader br = new BinaryReader(AssetResponse.GetResponseStream()); | 73 | BinaryReader br = new BinaryReader(AssetResponse.GetResponseStream()); |