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

windows: Disable specifying linger_timeout again #2959

Merged
merged 1 commit into from
Apr 20, 2020

Commits on Apr 17, 2020

  1. windows: Disable specifying linger_timeout again

    Enabling SO_LINGER causes tcp port exhaustion on Windows.
    This is because dynamic ports are only 16384 (from 49152 to 65535) and
    expiring SO_LINGER enabled ports should wait 4 minutes where set by TcpTimeDelay.
    Its default value is 4 minutes.
    So, we should disable SO_LINGER on Windows to prevent flood of waiting ports.
    
    Signed-off-by: Hiroshi Hatake <hatake@clear-code.com>
    cosmo0920 committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    8f729c5 View commit details
    Browse the repository at this point in the history