Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tcp: change listen backlog from 1 to 511 (like apache default), fixes…
… #4152
  • Loading branch information
perexg committed Dec 30, 2016
1 parent 9762916 commit 1f894a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcp.c
Expand Up @@ -816,7 +816,7 @@ void *tcp_server_create
return NULL;
}

listen(fd, 1);
listen(fd, 511);

ts = malloc(sizeof(tcp_server_t));
ts->serverfd = fd;
Expand Down

0 comments on commit 1f894a6

Please sign in to comment.