mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: added the socket_cloexec patch to ensure most of the nginx connections could be closed before child process terminates.
Signed-off-by: Yichun Zhang (agentzh) <agentzh@gmail.com>
This commit is contained in:
committed by
Yichun Zhang (agentzh)
parent
8d3ce00348
commit
a4f399b3ac
@ -418,6 +418,10 @@ echo "$info_txt applying the safe_resolver_ipv6_option patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-safe_resolver_ipv6_option.patch || exit 1
|
||||
echo
|
||||
|
||||
echo "$info_txt applying the socket_cloexec patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-socket_cloexec.patch || exit 1
|
||||
echo
|
||||
|
||||
cp $root/html/index.html docs/html/ || exit 1
|
||||
cp $root/html/50x.html docs/html/ || exit 1
|
||||
|
||||
|
Reference in New Issue
Block a user