mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fix the SO_LISTENQLEN check in FPM (#13089)
This now defines the HAVE_LQ_SO_LISTENQ as the fallback check when all previous have failed in case of FPM LQ. This seemed to be a typo in the build system.
This commit is contained in:
@@ -343,8 +343,8 @@ AC_DEFUN([AC_FPM_LQ],
|
||||
AC_MSG_RESULT([no])
|
||||
])
|
||||
|
||||
if test "$have_lq" = "tcp_info"; then
|
||||
AC_DEFINE([HAVE_LQ_SO_LISTENQ], 1, [do we have SO_LISTENQxxx?])
|
||||
if test "$have_lq" = "so_listenq"; then
|
||||
AC_DEFINE([HAVE_LQ_SO_LISTENQ], 1, [do we have SO_LISTENQ?])
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
||||
@@ -609,9 +609,8 @@ int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq)
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LQ_SO_LISTENQ
|
||||
#elif defined(HAVE_LQ_SO_LISTENQ)
|
||||
|
||||
int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user