mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
now we apply the upstream_pipelining patch to the nginx core by default.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user