mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
fpm sockets set listen back queue size to negative which trim down (#8638)
to the SOMAXCONN hard limit on macOs.
This commit is contained in:
parent
3bf4098eee
commit
daba5fb43f
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@
|
|||
#include "fpm_worker_pool.h"
|
||||
|
||||
/*
|
||||
On FreeBSD and OpenBSD, backlog negative values are truncated to SOMAXCONN
|
||||
On Linux, FreeBSD, OpenBSD and macOS, backlog negative values are truncated to SOMAXCONN
|
||||
*/
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__)
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__) || defined(__APPLE__)
|
||||
#define FPM_BACKLOG_DEFAULT -1
|
||||
#else
|
||||
#define FPM_BACKLOG_DEFAULT 511
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue