Count UTF-8 bytes and graphemes instead Microsoft brand UTF-16 whatevers.
This commit is contained in:
parent
306f8a29d1
commit
e7b38dc8e1
9 changed files with 52 additions and 15 deletions
SharpChat
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue