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

pull/14/head
agentzh (章亦春) 13 years ago
parent 9a756394cc
commit fcb85fb288

@ -26,6 +26,9 @@ cd nginx-$ver || exit 1
# patch the patch # 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 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 \ 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 > server_header.patch.tmp && mv -f server_header.patch.tmp server_header.patch || exit 1

Loading…
Cancel
Save