Skip to content

Commit 0d183e6

Browse files
committed
fpm sockets set listen back queue size to negative which trim down
to the 128 hard limit on macOs.
1 parent f3441c8 commit 0d183e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/fpm/fpm/fpm_sockets.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
/*
1515
On FreeBSD and OpenBSD, backlog negative values are truncated to SOMAXCONN
1616
*/
17-
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__)
17+
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__) || defined(__APPLE__)
1818
#define FPM_BACKLOG_DEFAULT -1
1919
#else
2020
#define FPM_BACKLOG_DEFAULT 511

0 commit comments

Comments
 (0)