Skip to content

Commit efcb0a3

Browse files
committed
use leased buffer for tags when calling SetAsync
# Conflicts: # src/Middleware/OutputCaching/src/OutputCacheEntryFormatter.cs
1 parent a622d83 commit efcb0a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Middleware/OutputCaching/src/OutputCacheEntryFormatter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,8 @@ static FrozenDictionary<string, int> BuildCommonHeadersLookup()
520520
pairs.Add(new(header, i));
521521
}
522522
}
523-
return FrozenDictionary.ToFrozenDictionary(pairs, StringComparer.Ordinal);
523+
524+
return FrozenDictionary.ToFrozenDictionary(pairs, StringComparer.OrdinalIgnoreCase);
524525
}
525526

526527
internal static bool ShouldStoreHeader(string key) => !IgnoredHeaders.Contains(key);

0 commit comments

Comments
 (0)