mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
bugfix: applied the cache_lock_hang_in_subreq patch to the nginx core to fix the request hang when using proxy_cache_lock in subrequests and the cache lock timeout happens.
This commit is contained in:
@ -175,22 +175,26 @@ fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.5.3`
|
||||
if [ "$answer" = "N" ]; then
|
||||
echo "$info_txt applying the unix_socket_accept_over_read patch for lua $ver"
|
||||
echo "$info_txt applying the unix_socket_accept_over_read patch for nginx $ver"
|
||||
patch -p1 < $root/patches/nginx-$ver-unix_socket_accept_over_read.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.5.3`
|
||||
if [ "$answer" = "N" ]; then
|
||||
echo "$info_txt applying the gzip_buffered_bug patch for lua $ver"
|
||||
echo "$info_txt applying the gzip_buffered_bug patch for nginx $ver"
|
||||
patch -p1 < $root/patches/nginx-$ver-gzip_buffered_bug.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
echo "$info_txt applying the gzip_flush_bug patch for lua $ver"
|
||||
echo "$info_txt applying the gzip_flush_bug patch for nginx $ver"
|
||||
patch -p1 < $root/patches/nginx-$ver-gzip_flush_bug.patch || exit 1
|
||||
echo
|
||||
|
||||
echo "$info_txt applying the cache_lock_hang_in_subreq patch for nginx $ver"
|
||||
patch -p1 < $root/patches/nginx-$ver-cache_lock_hang_in_subreq.patch || exit 1
|
||||
echo
|
||||
|
||||
rm -f *.patch || exit 1
|
||||
|
||||
cd .. || exit 1
|
||||
|
Reference in New Issue
Block a user