bugfix: backported Maxim Dounin's patch to fix an issue in the ngx_gzip module: it did not clear r->connection->buffered when the pending data was already flushed out. this could hang ngx_lua's ngx.flush(true) call, for example.

This commit is contained in:
Yichun Zhang (agentzh)
2013-10-19 20:49:06 -07:00
parent 2d3ff6af97
commit 274b1b6778
2 changed files with 49 additions and 0 deletions

View File

@ -180,6 +180,13 @@ if [ "$answer" = "N" ]; then
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"
patch -p1 < $root/patches/nginx-$ver-gzip_buffered_bug.patch || exit 1
echo
fi
rm -f *.patch || exit 1
cd .. || exit 1