diff --git a/eng/PatchConfig.props b/eng/PatchConfig.props
index 97027e2767..bf1e94ff22 100644
--- a/eng/PatchConfig.props
+++ b/eng/PatchConfig.props
@@ -45,6 +45,10 @@ Later on, this will be checked using this condition:
Microsoft.AspNetCore.AspNetCoreModuleV2;
Microsoft.AspNetCore.Identity.UI;
java:signalr;
+ Microsoft.AspNetCore.SignalR.Protocols.MessagePack;
+ Microsoft.AspNetCore.SignalR.Redis;
+ Microsoft.AspNetCore.SignalR.StackExchangeRedis;
+ Microsoft.AspNetCore.DataProtection.StackExchangeRedis;
Microsoft.AspNetCore.Mvc.Core;
Microsoft.AspNetCore.Mvc.RazorPages;
Microsoft.AspNetCore.AzureAppServicesIntegration;
diff --git a/eng/Versions.props b/eng/Versions.props
index 4696e487c7..8ae18067e7 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -182,7 +182,7 @@
3.0.0-preview3.4
3.0.0-preview3.4
3.0.0-preview3.4
- 1.7.3.4
+ 1.7.3.7
4.10.0
0.10.1
1.0.2
@@ -193,7 +193,7 @@
3.12.1
1.4.0
4.0.0
- 2.0.513
+ 2.0.593
3.1.1
2.0.3
0.10.0
diff --git a/src/SignalR/common/Protocols.MessagePack/src/Protocol/MessagePackHubProtocol.cs b/src/SignalR/common/Protocols.MessagePack/src/Protocol/MessagePackHubProtocol.cs
index 44fe3eeaa0..34dc7756fb 100644
--- a/src/SignalR/common/Protocols.MessagePack/src/Protocol/MessagePackHubProtocol.cs
+++ b/src/SignalR/common/Protocols.MessagePack/src/Protocol/MessagePackHubProtocol.cs
@@ -272,14 +272,13 @@ namespace Microsoft.AspNetCore.SignalR.Protocol
var headerCount = ReadMapLength(input, ref offset, "headers");
if (headerCount > 0)
{
- // If headerCount is larger than int.MaxValue, things are going to go horribly wrong anyway :)
- var headers = new Dictionary((int)headerCount, StringComparer.Ordinal);
+ var headers = new Dictionary(StringComparer.Ordinal);
for (var i = 0; i < headerCount; i++)
{
var key = ReadString(input, ref offset, $"headers[{i}].Key");
var value = ReadString(input, ref offset, $"headers[{i}].Value");
- headers[key] = value;
+ headers.Add(key, value);
}
return headers;
}