Browse Source

Log registered encryptor with conditions

DumpRegisteredEncryptor
tags/4.1.5
celeron533 5 years ago
parent
commit
f7944c08cc
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      shadowsocks-csharp/Controller/Service/Listener.cs

+ 4
- 1
shadowsocks-csharp/Controller/Service/Listener.cs View File

@@ -76,7 +76,10 @@ namespace Shadowsocks.Controller
// Start an asynchronous socket to listen for connections.
Logging.Info($"Shadowsocks started ({UpdateChecker.Version})");
Logging.Info(Encryption.EncryptorFactory.DumpRegisteredEncryptor());
if (_config.isVerboseLogging)
{
Logging.Info(Encryption.EncryptorFactory.DumpRegisteredEncryptor());
}
_tcpSocket.BeginAccept(new AsyncCallback(AcceptCallback), _tcpSocket);
UDPState udpState = new UDPState();
udpState.socket = _udpSocket;


Loading…
Cancel
Save