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

On NetBSD, use TCP_KEEPIDLE as KEEPALIVE_OPTION. #110

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

Commits on Dec 12, 2020

  1. On NetBSD, use TCP_KEEPIDLE as KEEPALIVE_OPTION.

    Without this, we saw this on NetBSD (routinator uses net2):
    
     13038     19 routinator CALL  setsockopt(0x15,0xffff,8,0x7d60bd3d62b4,4)
     13038     19 routinator RET   setsockopt 0
     13038     19 routinator CALL  setsockopt(0x15,6,8,0x7d60bd3d62b4,4)
     13038     19 routinator RET   setsockopt -1 errno 42 Protocol option not available
    
    The '8' in the above corresponds to the "ifdef notyet" definition
    of TCP_NOOPT, reserved for (future/possible) FreeBSD compat, and
    results in the ENOPROTOOPT error return shown above.
    he32 committed Dec 12, 2020
    Configuration menu
    Copy the full SHA
    0c4e2f9 View commit details
    Browse the repository at this point in the history