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

network-libp2p: Fix double increments and missing decrements for peer/IP counters in Connection Pool Behaviour #2991

Open
wants to merge 1 commit into
base: albatross
Choose a base branch
from

Commits on Oct 23, 2024

  1. network-libp2p: Fix double increments and missing decrements for peer…

    …/IP counters in Connection Behaviour
    
    Incrementing the counters happened in both `handle_pending_inbound_connection` and `on_connection_established`.
    Seconly due to early returns, there were scenarios where some counters wouldn't get decremented.
    Lastly decrement the limit counters on a listen failure.
    Eligioo committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    0bebe74 View commit details
    Browse the repository at this point in the history