mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-07-30 17:30:40 +00:00
ASP.Net
This commit is contained in:
@@ -65,8 +65,18 @@ public sealed class ResourceAttachmentConfiguration
|
||||
/// </summary>
|
||||
public sealed class ConnectionConfiguration
|
||||
{
|
||||
/// <summary>Maximum concurrent connections admitted by one EP server.</summary>
|
||||
public int MaximumConnections { get; set; } = 1_024;
|
||||
|
||||
public int MaximumConnectionsPerIpAddress { get; set; } = 64;
|
||||
|
||||
/// <summary>
|
||||
/// Maximum connection attempts admitted by one EP server during
|
||||
/// <see cref="ConnectionAttemptWindow"/>. This also bounds clients that rotate IP
|
||||
/// addresses. A value of zero disables the limit.
|
||||
/// </summary>
|
||||
public int MaximumConnectionAttempts { get; set; } = 4_096;
|
||||
|
||||
/// <summary>
|
||||
/// Maximum connection attempts admitted from one IP during
|
||||
/// <see cref="ConnectionAttemptWindow"/>. This limits repeated pre-authentication
|
||||
|
||||
Reference in New Issue
Block a user