update packages
This commit is contained in:
parent
450a6f2796
commit
26c741ad03
4 changed files with 7 additions and 1 deletions
|
|
@ -58,6 +58,8 @@ internal class Program
|
||||||
options.Port = host.Configuration.GetValue<int?>(Appsettings.ServerPort) ?? throw new Exception($"{Appsettings.ServerPort} value not set (appsettings)");
|
options.Port = host.Configuration.GetValue<int?>(Appsettings.ServerPort) ?? throw new Exception($"{Appsettings.ServerPort} value not set (appsettings)");
|
||||||
options.Keepalive = 10000;
|
options.Keepalive = 10000;
|
||||||
options.Timeout = 30000;
|
options.Timeout = 30000;
|
||||||
|
|
||||||
|
options.Compression = true;
|
||||||
options.Encryption = Encryption.Tls12;
|
options.Encryption = Encryption.Tls12;
|
||||||
|
|
||||||
options.UseSerializer<MemPackSerializer<IMessage>, IMessage>();
|
options.UseSerializer<MemPackSerializer<IMessage>, IMessage>();
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Vaitr.Network" Version="2023.9.13" />
|
<PackageReference Include="Vaitr.Network" Version="2023.9.21" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ internal class Program
|
||||||
options.Timeout = 30000;
|
options.Timeout = 30000;
|
||||||
options.Backlog = 128;
|
options.Backlog = 128;
|
||||||
|
|
||||||
|
options.Compression = true;
|
||||||
options.Encryption = Encryption.Tls12;
|
options.Encryption = Encryption.Tls12;
|
||||||
options.Certificate = host.Configuration.GetValue<string?>(Appsettings.AgentServerCertificate) ?? throw new Exception($"{Appsettings.AgentServerCertificate} value not set (appsettings)");
|
options.Certificate = host.Configuration.GetValue<string?>(Appsettings.AgentServerCertificate) ?? throw new Exception($"{Appsettings.AgentServerCertificate} value not set (appsettings)");
|
||||||
options.CertificatePassword = host.Configuration.GetValue<string?>(Appsettings.AgentServerCertificatePassword) ?? throw new Exception($"{Appsettings.AgentServerCertificatePassword} value not set (appsettings)");
|
options.CertificatePassword = host.Configuration.GetValue<string?>(Appsettings.AgentServerCertificatePassword) ?? throw new Exception($"{Appsettings.AgentServerCertificatePassword} value not set (appsettings)");
|
||||||
|
|
@ -104,6 +105,7 @@ internal class Program
|
||||||
options.Timeout = 30000;
|
options.Timeout = 30000;
|
||||||
options.Backlog = 128;
|
options.Backlog = 128;
|
||||||
|
|
||||||
|
options.Compression = true;
|
||||||
options.Encryption = Encryption.Tls12;
|
options.Encryption = Encryption.Tls12;
|
||||||
options.Certificate = host.Configuration.GetValue<string?>(Appsettings.WebServerCertificate) ?? throw new Exception($"{Appsettings.WebServerCertificate} value not set (appsettings)");
|
options.Certificate = host.Configuration.GetValue<string?>(Appsettings.WebServerCertificate) ?? throw new Exception($"{Appsettings.WebServerCertificate} value not set (appsettings)");
|
||||||
options.CertificatePassword = host.Configuration.GetValue<string?>(Appsettings.WebServerCertificatePassword) ?? throw new Exception($"{Appsettings.WebServerCertificatePassword} value not set (appsettings)");
|
options.CertificatePassword = host.Configuration.GetValue<string?>(Appsettings.WebServerCertificatePassword) ?? throw new Exception($"{Appsettings.WebServerCertificatePassword} value not set (appsettings)");
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,8 @@ public class Program
|
||||||
options.Port = builder.Configuration.GetValue<int?>(Appsettings.ServerPort) ?? throw new Exception($"{Appsettings.ServerPort} value not set (appsettings)");
|
options.Port = builder.Configuration.GetValue<int?>(Appsettings.ServerPort) ?? throw new Exception($"{Appsettings.ServerPort} value not set (appsettings)");
|
||||||
options.Keepalive = 10000;
|
options.Keepalive = 10000;
|
||||||
options.Timeout = 30000;
|
options.Timeout = 30000;
|
||||||
|
|
||||||
|
options.Compression = true;
|
||||||
options.Encryption = Encryption.Tls12;
|
options.Encryption = Encryption.Tls12;
|
||||||
|
|
||||||
options.UseSerializer<MemPackSerializer<IMessage>, IMessage>();
|
options.UseSerializer<MemPackSerializer<IMessage>, IMessage>();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue