Bug #4933 ยป listen_backlog_increase.patch
ext/socket/socket.c (working copy) | ||
---|---|---|
arg->fd = -1;
|
||
if (type == INET_SERVER)
|
||
listen(fd, 5);
|
||
listen(fd, 1024);
|
||
/* create new instance */
|
||
return init_sock(arg->sock, fd);
|