Closed vdmit11 closed 9 years ago
The hash function is implemented: https://github.com/natsys/tempesta/blob/master/tempesta_fw/lib.c#L33
It seems it's good to generalize hash calculation on URI : https://github.com/natsys/tempesta/blob/master/tempesta_fw/cache.c#L106
Dmitry, I reassign the issue to you back. Could you please update the hash function usage as well as use your code from hash_sched in tfw_cache_key_calc()?
Replace the hash function in the tfw_sched_hash.c as soon as it will be ready (currently djb2 hash function is used).