Count UTF-8 bytes and graphemes instead Microsoft brand UTF-16 whatevers.

This commit is contained in:
flash 2025-04-14 21:57:24 +00:00
commit e7b38dc8e1
Signed by: flash
GPG key ID: 2C9C2C574D47FE3E
9 changed files with 52 additions and 15 deletions

View file

@ -86,10 +86,11 @@ namespace SharpChat {
return;
}
if(EnabledSslProtocols == SslProtocols.None) {
EnabledSslProtocols = SslProtocols.Tls;
FleckLog.Debug("Using default TLS 1.0 security protocol.");
}
// makes dotnet shut up, TLS is handled by NGINX anyway
// if(EnabledSslProtocols == SslProtocols.None) {
// EnabledSslProtocols = SslProtocols.Tls;
// FleckLog.Debug("Using default TLS 1.0 security protocol.");
// }
}
ListenForClients();
_config = config;