mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
upgraded the nginx core to 1.2.7.
This commit is contained in:
@ -132,9 +132,12 @@ echo "$info_txt applying the slab_alloc_no_memory_as_info patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-slab_alloc_no_memory_as_info.patch || exit 1
|
||||
echo
|
||||
|
||||
echo "$info_txt applying the resolver_wev_handler_segfault_with_poll patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-resolver_wev_handler_segfault_with_poll.patch || exit 1
|
||||
echo
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.2.7`
|
||||
if [ "$answer" = "N" ]; then
|
||||
echo "$info_txt applying the resolver_wev_handler_segfault_with_poll patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-resolver_wev_handler_segfault_with_poll.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
rm -f *.patch || exit 1
|
||||
|
||||
|
Reference in New Issue
Block a user