mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
* Made Seed CAP response respect the SSL setting.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user