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:
Yichun Zhang (agentzh)
2014-10-31 18:18:38 -07:00
parent 46a5fd3bba
commit b6d3a5cf7b
2 changed files with 47 additions and 0 deletions

View File

@ -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