mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
bugfix: applied the patch to fix a new regression in nginx 1.7.7's ngx_gzip and ngx_gunzip modules that could lead to request hang when the downstream is slow to write to.
This commit is contained in:
@ -277,6 +277,13 @@ if [ "$answer" = "N" ]; then
|
||||
echo
|
||||
fi
|
||||
|
||||
answer=`$root/util/ver-ge "$main_ver" 1.7.7`
|
||||
if [ "$answer" = "Y" ]; then
|
||||
echo "$info_txt applying the gzip_gunzip_flush patch for nginx"
|
||||
patch -p1 < $root/patches/nginx-$main_ver-gzip_gunzip_flush.patch || exit 1
|
||||
echo
|
||||
fi
|
||||
|
||||
rm -f *.patch || exit 1
|
||||
|
||||
cd .. || exit 1
|
||||
|
Reference in New Issue
Block a user