Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make dictionaries in bus case in sensitive.

  • Loading branch information...
commit 5916a588f901160508f757dd386e57dea33410a3 1 parent 399fe59
@davidfowl davidfowl authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 SignalR/MessageBus/InProcessMessageBus.cs
View
4 SignalR/MessageBus/InProcessMessageBus.cs
@@ -50,10 +50,10 @@ public class InProcessMessageBus<T> : IMessageBus where T : IComparable<T>
private static List<InMemoryMessage<T>> _emptyMessageList = new List<InMemoryMessage<T>>();
private readonly ConcurrentDictionary<string, LockedList<Action<IList<InMemoryMessage<T>>>>> _waitingTasks =
- new ConcurrentDictionary<string, LockedList<Action<IList<InMemoryMessage<T>>>>>();
+ new ConcurrentDictionary<string, LockedList<Action<IList<InMemoryMessage<T>>>>>(StringComparer.OrdinalIgnoreCase);
private readonly ConcurrentDictionary<string, LockedList<InMemoryMessage<T>>> _cache =
- new ConcurrentDictionary<string, LockedList<InMemoryMessage<T>>>();
+ new ConcurrentDictionary<string, LockedList<InMemoryMessage<T>>>(StringComparer.OrdinalIgnoreCase);
private readonly ReaderWriterLockSlim _cacheLock = new ReaderWriterLockSlim();
Please sign in to comment.
Something went wrong with that request. Please try again.