From e3e7e73db3fe99761ba090910634c86caacd7a3c Mon Sep 17 00:00:00 2001 From: MW Date: Sat, 30 May 2009 16:13:40 +0000 Subject: Added option (on my default) to the clone avatar function so that the clothes and attachments that the target avatar is wearing, to begin with, are removed. So the end result isn't a merger of those clothes/attachments and the ones the template avatar is wearing. Added IPAddress ListenIPAddress property to BaseHttpServer so that the listening/binding IP can be set. --- OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs') diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index e18fd55..0f7ff79 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs @@ -70,6 +70,8 @@ namespace OpenSim.Framework.Servers.HttpServer protected bool m_firstcaps = true; protected string m_SSLCommonName = ""; + protected IPAddress m_listenIPAddress = IPAddress.Any; + public uint SSLPort { get { return m_sslport; } @@ -90,6 +92,12 @@ namespace OpenSim.Framework.Servers.HttpServer get { return m_ssl; } } + public IPAddress ListenIPAddress + { + get { return m_listenIPAddress; } + set { m_listenIPAddress = value; } + } + public BaseHttpServer(uint port) { m_port = port; @@ -1397,7 +1405,7 @@ namespace OpenSim.Framework.Servers.HttpServer { //m_httpListener.Prefixes.Add("http://+:" + m_port + "/"); //m_httpListener.Prefixes.Add("http://10.1.1.5:" + m_port + "/"); - m_httpListener2 = new CoolHTTPListener(IPAddress.Any, (int)m_port); + m_httpListener2 = new CoolHTTPListener(m_listenIPAddress, (int)m_port); m_httpListener2.ExceptionThrown += httpServerException; m_httpListener2.LogWriter = httpserverlog; -- cgit v1.1