You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, nginx detects TCP_KEEPIDLE when running configure on all Unix-like platforms. However, macOS uses TCP_KEEPALIVE in place of TCP_KEEPIDLE, which leads nginx on macOS to fail the detection and overlook the TCP keepalive mechanism that is fully supported on macOS.
The bug is reproducible with the latest version of nginx
The nginx configuration is minimized to the smallest possible
to reproduce the issue and doesn't contain third-party modules
nginx configuration
-
nginx debug log
auto/configure
...
checking for IPV6_MTU_DISCOVER ... not found
checking for IP_DONTFRAG ... found
checking for IPV6_DONTFRAG ... found
checking for TCP_DEFER_ACCEPT ... not found
*checking for TCP_KEEPIDLE ... not found*
The text was updated successfully, but these errors were encountered:
Environment
Include the result of the following commands:
nginx -V
: master branchuname -a
: Darwin 23.6.0 arm64, macOS 14.6.1Description
Currently, nginx detects
TCP_KEEPIDLE
when runningconfigure
on all Unix-like platforms. However, macOS usesTCP_KEEPALIVE
in place ofTCP_KEEPIDLE
, which leads nginx on macOS to fail the detection and overlook the TCP keepalive mechanism that is fully supported on macOS.to reproduce the issue and doesn't contain third-party modules
nginx configuration
nginx debug log
The text was updated successfully, but these errors were encountered: