aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/AssetServer/Main.cs
diff options
context:
space:
mode:
authorJeff Ames2007-12-06 01:41:41 +0000
committerJeff Ames2007-12-06 01:41:41 +0000
commit4bde56457f574060c1aaaca8effba1f6fe00b6c7 (patch)
tree60c081be8f3d00da63940efd81ce88de6fe1f2a5 /OpenSim/Grid/AssetServer/Main.cs
parentSome refactoring of the RestObjectPoster (and related classes). (diff)
downloadopensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.zip
opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.gz
opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.bz2
opensim-SC-4bde56457f574060c1aaaca8effba1f6fe00b6c7.tar.xz
removed some duplicate hard-coded port numbers. changed ports to uint.
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/AssetServer/Main.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Grid/AssetServer/Main.cs b/OpenSim/Grid/AssetServer/Main.cs
index 61427fa..c973f99 100644
--- a/OpenSim/Grid/AssetServer/Main.cs
+++ b/OpenSim/Grid/AssetServer/Main.cs
@@ -92,7 +92,7 @@ namespace OpenSim.Grid.AssetServer
92 LoadDefaultAssets(); 92 LoadDefaultAssets();
93 93
94 m_console.Verbose("ASSET", "Starting HTTP process"); 94 m_console.Verbose("ASSET", "Starting HTTP process");
95 BaseHttpServer httpServer = new BaseHttpServer((int) m_config.HttpPort); 95 BaseHttpServer httpServer = new BaseHttpServer(m_config.HttpPort);
96 96
97 httpServer.AddStreamHandler(new GetAssetStreamHandler(this, m_assetProvider)); 97 httpServer.AddStreamHandler(new GetAssetStreamHandler(this, m_assetProvider));
98 httpServer.AddStreamHandler(new PostAssetStreamHandler(this, m_assetProvider)); 98 httpServer.AddStreamHandler(new PostAssetStreamHandler(this, m_assetProvider));