1 This patch allows compile time define for listen backlog.
2 Defaults to previous behaviour: 5
4 --- fcgi-2.4.0/cgi-fcgi/cgi-fcgi.c~ 2001-09-01 03:14:28.000000000 +0200
5 +++ fcgi-2.4.0/cgi-fcgi/cgi-fcgi.c 2005-05-09 18:09:17.000000000 +0300
10 +#ifndef LISTEN_BACKLOG
11 +#define LISTEN_BACKLOG 5
14 static int wsReadPending = 0;
15 static int fcgiReadPending = 0;
19 /* @@@ Should be able to pick up the backlog as an arg */
20 - if((listenFd = OS_CreateLocalIpcFd(bindPath, 5)) == -1) {
21 + if((listenFd = OS_CreateLocalIpcFd(bindPath, LISTEN_BACKLOG)) == -1) {