Skip to content
This repository
Browse code

Make dictionaries in bus case in sensitive.

  • Loading branch information...
commit 5916a588f901160508f757dd386e57dea33410a3 1 parent 399fe59
David Fowler authored July 24, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  SignalR/MessageBus/InProcessMessageBus.cs
4  SignalR/MessageBus/InProcessMessageBus.cs
@@ -50,10 +50,10 @@ public class InProcessMessageBus<T> : IMessageBus where T : IComparable<T>
50 50
         private static List<InMemoryMessage<T>> _emptyMessageList = new List<InMemoryMessage<T>>();
51 51
 
52 52
         private readonly ConcurrentDictionary<string, LockedList<Action<IList<InMemoryMessage<T>>>>> _waitingTasks =
53  
-            new ConcurrentDictionary<string, LockedList<Action<IList<InMemoryMessage<T>>>>>();
  53
+            new ConcurrentDictionary<string, LockedList<Action<IList<InMemoryMessage<T>>>>>(StringComparer.OrdinalIgnoreCase);
54 54
 
55 55
         private readonly ConcurrentDictionary<string, LockedList<InMemoryMessage<T>>> _cache =
56  
-            new ConcurrentDictionary<string, LockedList<InMemoryMessage<T>>>();
  56
+            new ConcurrentDictionary<string, LockedList<InMemoryMessage<T>>>(StringComparer.OrdinalIgnoreCase);
57 57
 
58 58
         private readonly ReaderWriterLockSlim _cacheLock = new ReaderWriterLockSlim();
59 59
 

0 notes on commit 5916a58

Please sign in to comment.
Something went wrong with that request. Please try again.