HttpCacheHeaders
HttpCacheHeaders copied to clipboard
InMemoryValidatorValueStore is no longer thread safe
https://github.com/KevinDockx/HttpCacheHeaders/blob/7becbc57b021432896ebfb62f793287cddbdfae5/src/Marvin.Cache.Headers/Stores/InMemoryValidatorValueStore.cs#L93
InvalidOperationException is thrown when enumerating the store keys.
Thanks for letting me know, I'll have a look.
Switching collection type to a ConcurrentDictionary (as no ConcurrentHashSet will be created, cfr https://github.com/dotnet/runtime/issues/39919#issuecomment-954774092)
Fixed in 7.2.0.