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

server: disable tcpkeepalive #2635

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

Commits on Mar 8, 2023

  1. server: disable tcpkeepalive

    The default value for tcpkeepalive in the standard net
    package is 15 seconds, while the default value for BGP
    keepalive is 30 seconds. If the network is not good,
    the TCP connection is disconnected before BGP can send
    keepalive messages.
    
    Therefore, BGP keepalive is effectively invalid.
    
    The solution is that since we have BGP keepalive, we
    don't need to open tcp keepalive.
    
    Signed-off-by: Chen Yahui <[email protected]>
    ChenYahui2019 committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    a674795 View commit details
    Browse the repository at this point in the history