Skip to content
代码片段 群组 项目
未验证 提交 6acac812 编辑于 作者: Stephen Halter's avatar Stephen Halter 提交者: GitHub
浏览文件

Avoid _settingsIndex overflow (#35394)

上级 62be6d12
No related branches found
No related tags found
无相关合并请求
......@@ -20,7 +20,9 @@ namespace Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets
private readonly ISocketsTrace _trace;
private readonly int _settingsCount;
private readonly QueueSettings[] _settings;
private int _settingsIndex;
// long to prevent overflow
private long _settingsIndex;
/// <summary>
/// Creates the <see cref="SocketConnectionContextFactory"/>.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册