diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-14 16:53:38 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-14 16:53:38 +0000 |
commit | 8bbcf7838437c446659f0988f623facce292bd3c (patch) | |
tree | 9c95c9f6a5849fa85869f98ea8021b673b948d7f /UPGRADE.txt | |
parent | 7e9cdbaadb4dc5aee07d8c21fe92b48d940d1c7e (diff) |
Fix some refcounting in app_queue.c and change the
hashing used by app_queue.c to be case-insensitive.
This is accomplished by adding a new case-insensitive
hashing function.
This was necessary to prevent bad refcount errors
(and potential crashes) which would occur due to the
fact that queues were initially read from the config
file in a case-sensitive manner. Then, when a user
issued a CLI command or manager action, we allowed
for case-insensitive input and used that input to
directly try to find the queue in the hash table. The result
was either that we could not find a queue that was input or
worse, we would end up hashing to a completely bogus value
based on the input.
This commit resolves the problem presented in
issue #13703. However, that issue was reported against
1.6.0. Since this fix introduces a behavior change, I am
electing to not place this same fix in to the 1.6.0 or 1.6.1
branches, and instead will opt for a change which does not
change behavior.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@156883 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'UPGRADE.txt')
-rw-r--r-- | UPGRADE.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/UPGRADE.txt b/UPGRADE.txt index 82eeff453..209ebd50d 100644 --- a/UPGRADE.txt +++ b/UPGRADE.txt @@ -291,6 +291,13 @@ Queues: new value has been added to the TRANSFER event that indicates the caller's original position in the queue they are being transfered from. +* Prior to Asterisk 1.6.2, queue names were treated in a case-sensitive + manner, meaning that queues with names like "sales" and "sALeS" would + be seen as unique queues. The parsing logic has changed to use case- + insensitive comparisons now when originally hashing based on queue + names, meaning that now the two queues mentioned as examples earlier + will be seen as having the same name. + iLBC Codec: * Previously, the Asterisk source code distribution included the iLBC |