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

Thread safe cloexec #1828

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 1, 2024

  1. threadsafe CLOEXEC on platforms that support it

    SOCK_CLOEXEC is a flag available on some platforms to enable creation of
    sockets with CLOEXEC already set
    Karen Dombroski committed May 1, 2024
    Configuration menu
    Copy the full SHA
    50fce53 View commit details
    Browse the repository at this point in the history
  2. threadsafe accept on windows, linux

    * Windows has WSAAccept() which will create sockets inheriting flags from
      the server socket
    
    * Linux has accept4() which has a flags argument supporting SOCK_CLOEXEC
    Karen Dombroski committed May 1, 2024
    Configuration menu
    Copy the full SHA
    fb739db View commit details
    Browse the repository at this point in the history