mirror of
https://github.com/php/php-src.git
synced 2024-10-03 07:46:12 +00:00
Merge branch 'PHP-5.5'
* PHP-5.5: NEWS Added PHP_FCGI_BACKLOG, overrides the default listen backlog
This commit is contained in:
commit
4cf20656ba
@ -1955,7 +1955,11 @@ consult the installation file that came with this distribution, or visit \n\
|
||||
}
|
||||
|
||||
if (bindpath) {
|
||||
fcgi_fd = fcgi_listen(bindpath, 128);
|
||||
int backlog = 128;
|
||||
if (getenv("PHP_FCGI_BACKLOG")) {
|
||||
backlog = atoi(getenv("PHP_FCGI_BACKLOG"));
|
||||
}
|
||||
fcgi_fd = fcgi_listen(bindpath, backlog);
|
||||
if (fcgi_fd < 0) {
|
||||
fprintf(stderr, "Couldn't create FastCGI listen socket on port %s\n", bindpath);
|
||||
#ifdef ZTS
|
||||
|
Loading…
Reference in New Issue
Block a user