UbitUmarov преди 1 месец
родител
ревизия
68c4724847
променени са 1 файла, в които са добавени 0 реда и са изтрити 7 реда
  1. 0 7
      OpenSim/Capabilities/CapsHandlers.cs

+ 0 - 7
OpenSim/Capabilities/CapsHandlers.cs

@@ -47,7 +47,6 @@ namespace OpenSim.Framework.Capabilities
         private IHttpServer m_httpListener;
         private string m_httpListenerHostName;
         private uint m_httpListenerPort;
-        private bool m_useSSL = false;
         private readonly string m_baseURL;
 
         /// <summary></summary>
@@ -64,15 +63,9 @@ namespace OpenSim.Framework.Capabilities
             m_httpListenerHostName = httpListenerHostname;
             m_httpListenerPort = httpListenerPort;
             if (httpListener != null && httpListener.UseSSL)
-            {
-                m_useSSL = true;
                 m_baseURL = $"https://{m_httpListenerHostName}:{m_httpListenerPort}";
-            }
             else
-            {
-                m_useSSL = false;
                 m_baseURL = $"http://{m_httpListenerHostName}:{m_httpListenerPort}";
-            }
         }
 
         /// <summary>