* Made Seed CAP response respect the SSL setting.

This commit is contained in:
Teravus Ovares
2008-09-14 23:39:35 +00:00
parent dbbbec48df
commit cdced699fb
3 changed files with 82 additions and 5 deletions

View File

@@ -61,16 +61,28 @@ namespace OpenSim.Framework.Servers
protected uint m_sslport;
protected bool m_ssl = false;
protected bool m_firstcaps = true;
protected string m_SSLCommonName = "";
public uint SSLPort
{
get { return m_sslport; }
}
public string SSLCommonName
{
get { return m_SSLCommonName; }
}
public uint Port
{
get { return m_port; }
}
public bool UseSSL
{
get { return m_ssl; }
}
public BaseHttpServer(uint port)
{
m_port = port;
@@ -83,6 +95,7 @@ namespace OpenSim.Framework.Servers
}
public BaseHttpServer(uint port, bool ssl, uint sslport, string CN)
{
m_ssl = ssl;
@@ -103,6 +116,8 @@ namespace OpenSim.Framework.Servers
if (CN.Length > 0)
searchCN = CN.ToUpper();
m_SSLCommonName = searchCN;
Type t = Type.GetType("Mono.Runtime");
if (t != null)
{