We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62be6d1 commit 6acac81Copy full SHA for 6acac81
src/Servers/Kestrel/Transport.Sockets/src/SocketConnectionContextFactory.cs
@@ -20,7 +20,9 @@ public sealed class SocketConnectionContextFactory : IDisposable
20
private readonly ISocketsTrace _trace;
21
private readonly int _settingsCount;
22
private readonly QueueSettings[] _settings;
23
- private int _settingsIndex;
+
24
+ // long to prevent overflow
25
+ private long _settingsIndex;
26
27
/// <summary>
28
/// Creates the <see cref="SocketConnectionContextFactory"/>.
0 commit comments