Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: [zhashx] rehash does not increase chain limit #2174

Merged
merged 1 commit into from
Apr 10, 2021

Commits on Apr 10, 2021

  1. 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
    chu11 committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    b65e8c0 View commit details
    Browse the repository at this point in the history