Accepting request 769465 from Apache

- define DEFAULT_LISTENBACKLOG=APR_INT32_MAX. We want apache
  to honour net.core.somaxconn sysctl as the mandatory limit. 
  the old value of 511 was never used as until v5.4-rc6 it was 
  clamped to 128, in current kernels the default limit is 4096. 
  Cannot use the apr_socket_listen(.., -1) idiom because the function
  expects a positive integer argument. (forwarded request 769110 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/769465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2?expand=0&rev=165
This commit is contained in:
Dominique Leuenberger 2020-02-06 12:06:54 +00:00 committed by Git OBS Bridge
commit 279c99ca6b
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Jan 31 18:22:09 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>
- define DEFAULT_LISTENBACKLOG=APR_INT32_MAX. We want apache
to honour net.core.somaxconn sysctl as the mandatory limit.
the old value of 511 was never used as until v5.4-rc6 it was
clamped to 128, in current kernels the default limit is 4096.
Cannot use the apr_socket_listen(.., -1) idiom because the function
expects a positive integer argument.
-------------------------------------------------------------------
Mon Jan 20 13:04:23 UTC 2020 - pgajdos@suse.com

View File

@ -451,7 +451,7 @@ for mpm in %{mpms_to_build}; do
mv include/ap_config_auto.h.new include/ap_config_auto.h
sed -i -e "s@%{_localstatedir}/run@%{runtimedir}@g" include/ap_config_layout.h
make CFLAGS="%{optflags} -fvisibility=hidden -fPIC -Wall -DDEFAULT_ERRORLOG='\"%{logfiledir}/error_log\"'" %{?_smp_mflags}
make CFLAGS="%{optflags} -fvisibility=hidden -fPIC -Wall -DDEFAULT_LISTENBACKLOG=APR_INT32_MAX -DDEFAULT_ERRORLOG='\"%{logfiledir}/error_log\"'" %{?_smp_mflags}
make DESTDIR=%{buildroot} install -j1
# show pathnames in config files