mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user