Accepting request 801322 from home:elvigia:branches:server:http

- Do not arbitrarily limit the default listen backlog  
 (NGX_LISTEN_BACKLOG) to 511, instead use -1 to choose the
 system's default (sysctl net.core.somaxconn)

OBS-URL: https://build.opensuse.org/request/show/801322
OBS-URL: https://build.opensuse.org/package/show/server:http/nginx?expand=0&rev=168
This commit is contained in:
Lars Vogdt 2020-05-14 21:21:47 +00:00 committed by Git OBS Bridge
parent 0cdd64823c
commit 4e4facd3f8
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 7 16:15:48 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>
- Do not arbitrarily limit the default listen backlog
(NGX_LISTEN_BACKLOG) to 511, instead use -1 to choose the
system's default (sysctl net.core.somaxconn)
-------------------------------------------------------------------
Wed Apr 22 16:46:27 UTC 2020 - Илья Индиго <ilya@ilya.pp.ua>

View File

@ -188,6 +188,8 @@ perl -pi -e 's|#LIBDIR#|%{_lib}|g' conf/nginx.conf
sed -i "s/\/var\/run/\/run/" conf/nginx.conf
%endif
sed -i 's/^\(#define NGX_LISTEN_BACKLOG \).*/\1-1/' src/os/unix/ngx_linux_config.h
%build
# FIXME: you should use the %%configure macro
./configure \