{"author":"Andy Pan","author_email":"i@andypan.me","author_time":1743868532,"commit_time":1743937713,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"3d02872be7cfe6dcdef4b02321b47af19e1ce268","message":"socket: use accept4 when available\n\nLinux, *BSD, and Solaris support accept4 system call that enables the\ncaller to assign additional flags and save some extra system calls. It\ncan come in handy when O_NONBLOCK or/and FD_CLOEXEC is/are required on a\nsocket after being accepted.\n\nRef:\nhttps://man7.org/linux/man-pages/man2/accept.2.html\nhttps://man.freebsd.org/cgi/man.cgi?query=accept4\nhttps://man.dragonflybsd.org/?command=accept&section=2\nhttps://man.openbsd.org/accept.2\nhttps://man.netbsd.org/accept.2\nhttps://docs.oracle.com/cd/E88353_01/html/E37843/accept4-3c.html\nhttps://www.gnu.org/software/gnulib/manual/html_node/accept4.html\n\nCloses #16979\n","parents":["2f5e4e0db464acff921901b7bf98dd94f8a73745"],"tree_hash":"27a09b4f010cd15638114f8f3ebdc0a6fbf02208"}