Project

General

Profile

Bug #4933 ยป listen_backlog_increase.patch

ghazel (Greg Hazel), 06/27/2011 07:51 AM

View differences:

ext/socket/socket.c (working copy)
1281 1281
    arg->fd = -1;
1282 1282

  
1283 1283
    if (type == INET_SERVER)
1284
	listen(fd, 5);
1284
	listen(fd, 1024);
1285 1285

  
1286 1286
    /* create new instance */
1287 1287
    return init_sock(arg->sock, fd);