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.
This commit is contained in:
MW
2009-05-30 16:13:40 +00:00
parent 94f4953e31
commit e3e7e73db3
3 changed files with 164 additions and 123 deletions

View File

@@ -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;