Bump TCP connection backlog from 5 to 32.

This commit is contained in:
Simon Kelley committed 2016-12-22 22:16:58 +00:00
1 parent a1d973f987
commit 09b768efa4
3 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -746,7 +746,7 @@ static int make_sock(union mysockaddr *addr, int type, int dienow)
if (type == SOCK_STREAM)
{
if (listen(fd, 5) == -1)
if (listen(fd, TCP_BACKLOG) == -1)
goto err;
}
else if (family == AF_INET)