mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user