forked from pool/apache2
Accepting request 769110 from home:elvigia:branches: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. OBS-URL: https://build.opensuse.org/request/show/769110 OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=596
This commit is contained in:
@@ -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
|
Mon Jan 20 13:04:23 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -451,7 +451,7 @@ for mpm in %{mpms_to_build}; do
|
|||||||
mv include/ap_config_auto.h.new include/ap_config_auto.h
|
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
|
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
|
make DESTDIR=%{buildroot} install -j1
|
||||||
|
|
||||||
# show pathnames in config files
|
# show pathnames in config files
|
||||||
|
Reference in New Issue
Block a user