diff options
author | Diva Canto | 2014-05-07 19:38:33 -0700 |
---|---|---|
committer | Diva Canto | 2014-05-07 19:38:33 -0700 |
commit | a845c1a893a203f1a9bc38dc754a6f94e4c02ea5 (patch) | |
tree | e2b9118deb856f87444b2062fa78e4adca900d42 /OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs | |
parent | Delete extraneous console message in the Configger. (diff) | |
download | opensim-SC-a845c1a893a203f1a9bc38dc754a6f94e4c02ea5.zip opensim-SC-a845c1a893a203f1a9bc38dc754a6f94e4c02ea5.tar.gz opensim-SC-a845c1a893a203f1a9bc38dc754a6f94e4c02ea5.tar.bz2 opensim-SC-a845c1a893a203f1a9bc38dc754a6f94e4c02ea5.tar.xz |
Finished implementing redirects in GetTexture.
Diffstat (limited to 'OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs')
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs index 71cf033..fa0b228 100644 --- a/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs +++ b/OpenSim/Capabilities/Handlers/GetTexture/GetTextureServerConnector.cs | |||
@@ -62,8 +62,10 @@ namespace OpenSim.Capabilities.Handlers | |||
62 | if (m_AssetService == null) | 62 | if (m_AssetService == null) |
63 | throw new Exception(String.Format("Failed to load AssetService from {0}; config is {1}", assetService, m_ConfigName)); | 63 | throw new Exception(String.Format("Failed to load AssetService from {0}; config is {1}", assetService, m_ConfigName)); |
64 | 64 | ||
65 | string rurl = serverConfig.GetString("GetTextureRedirectURL"); | ||
66 | ; | ||
65 | server.AddStreamHandler( | 67 | server.AddStreamHandler( |
66 | new GetTextureHandler("/CAPS/GetTexture/" /*+ UUID.Random() */, m_AssetService, "GetTexture", null)); | 68 | new GetTextureHandler("/CAPS/GetTexture/" /*+ UUID.Random() */, m_AssetService, "GetTexture", null, rurl)); |
67 | } | 69 | } |
68 | } | 70 | } |
69 | } \ No newline at end of file | 71 | } \ No newline at end of file |