Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: [zhashx] rehash does not increase chain limit
When rehashing in s_item_lookup(), the chain limit was not increased. Therefore, the chain limit stayed at its default value of 1. By staying at the default value of 1, a single hash collision could increase the limit of the hash. This increase could be well beyond what would be reasonable. Solution: Increase the chain limit by the growth factor after a rehash. Fixes zeromq#2173
- Loading branch information