Permalink
Browse files

Make dictionaries in bus case in sensitive.

  • Loading branch information...
1 parent 399fe59 commit 5916a588f901160508f757dd386e57dea33410a3 @davidfowl davidfowl committed Jul 25, 2012
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();

0 comments on commit 5916a58

Please sign in to comment.