Ticket #1984 (closed defect: fixed)
Remove the implementation of PJ_HASH_USE_OWN_TOLOWER
|Reported by:||ming||Owned by:||bennylp|
|Backport to 1.x milestone:||Backported:||no|
Currently PJ_HASH_USE_OWN_TOLOWER is only used in pj_hash_calc_tolower(). However, it could cause hash key mismatch (such as when trying to find a SIP transaction key) since find_entry() doesn't seem to take into account of this and try to find key based on the calculation of not using own tolower().
The proposed solution would be to remove PJ_HASH_USE_OWN_TOLOWER since it doesn't offer much efficiency improvement and the implementation only assumes that the string is alphanumeric.
Thanks to Richard Mudgett for the report.