Bump the listen() backlog up, some people have scripts that run up a lot

of clients quickly.
This commit is contained in:
nicm 2016-03-30 13:20:07 +00:00
parent 312a7a1e62
commit ec82fcdfea

View File

@ -124,7 +124,7 @@ server_create_socket(void)
return (-1);
umask(mask);
if (listen(fd, 16) == -1)
if (listen(fd, 128) == -1)
return (-1);
setblocking(fd, 0);