diff options
author | Justin Clarke Casey | 2009-01-06 14:37:39 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-06 14:37:39 +0000 |
commit | b07c188b7e4793c50e1169b0b3c2e08cce33664f (patch) | |
tree | bf4ccce3277f3f353b89856eecc5c06e16586568 /OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs | |
parent | * refactor: call AddLLSDHandler directly via CommsManager (diff) | |
download | opensim-SC-b07c188b7e4793c50e1169b0b3c2e08cce33664f.zip opensim-SC-b07c188b7e4793c50e1169b0b3c2e08cce33664f.tar.gz opensim-SC-b07c188b7e4793c50e1169b0b3c2e08cce33664f.tar.bz2 opensim-SC-b07c188b7e4793c50e1169b0b3c2e08cce33664f.tar.xz |
* refactor: call AddStreamHandler() directly via CommsManager
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs b/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs index d090052..a5b45ea 100644 --- a/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs +++ b/OpenSim/Region/Environment/Modules/Hypergrid/HGStandaloneAssetService.cs | |||
@@ -120,13 +120,13 @@ namespace OpenSim.Region.Environment.Modules.Hypergrid | |||
120 | protected void AddHttpHandlers(Scene m_scene) | 120 | protected void AddHttpHandlers(Scene m_scene) |
121 | { | 121 | { |
122 | IAssetProviderPlugin m_assetProvider = ((AssetServerBase)m_scene.AssetCache.AssetServer).AssetProviderPlugin; | 122 | IAssetProviderPlugin m_assetProvider = ((AssetServerBase)m_scene.AssetCache.AssetServer).AssetProviderPlugin; |
123 | 123 | ||
124 | m_scene.AddStreamHandler(new GetAssetStreamHandler(m_assetProvider)); | 124 | BaseHttpServer httpServer = m_scene.CommsManager.HttpServer; |
125 | m_scene.AddStreamHandler(new PostAssetStreamHandler(m_assetProvider)); | 125 | httpServer.AddStreamHandler(new GetAssetStreamHandler(m_assetProvider)); |
126 | httpServer.AddStreamHandler(new PostAssetStreamHandler(m_assetProvider)); | ||
126 | 127 | ||
127 | } | 128 | } |
128 | 129 | ||
129 | |||
130 | ///// <summary> | 130 | ///// <summary> |
131 | ///// Check that the source of an inventory request is one that we trust. | 131 | ///// Check that the source of an inventory request is one that we trust. |
132 | ///// </summary> | 132 | ///// </summary> |