now we apply the upstream_pipelining patch to the nginx core by default.

This commit is contained in:
agentzh (章亦春) 2012-03-21 21:29:32 +08:00
parent 9a756394cc
commit fcb85fb288
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ cd nginx-$ver || exit 1
# patch the patch
echo "INFO: applying the upstream-pipelining patch"
patch -p1 < $root/patches/nginx-$main_ver-upstream_pipelining.patch || exit 1
cp $root/patches/nginx-$main_ver-server_header.patch server_header.patch || exit 1
sed $"s/NGINX_VERSION \".unknown\"/NGINX_VERSION \".$minor_ver\"/" server_header.patch \
> server_header.patch.tmp && mv -f server_header.patch.tmp server_header.patch || exit 1