initial work for migrating to the 1.0.8.1 release; applied the variable-header-ignore-no-hash patch.

This commit is contained in:
agentzh (章亦春)
2011-10-07 13:44:20 +08:00
parent ee9cf6c407
commit 23506e8328
13 changed files with 966 additions and 98 deletions

View File

@ -38,14 +38,16 @@ patch -p1 < $root/patches/nginx-$main_ver-no_error_pages.patch || exit 1
patch -p1 < $root/patches/nginx-$main_ver-no_Werror.patch || exit 1
patch -p1 < $root/patches/nginx-$main_ver-request_body_preread_fix.patch || exit 1
#patch -p1 < $root/patches/nginx-$main_ver-request_body_preread_fix.patch || exit 1
patch -p1 < $root/patches/nginx-$main_ver-request_body_in_single_buf.patch || exit 1
#patch -p1 < $root/patches/nginx-$main_ver-request_body_in_single_buf.patch || exit 1
patch -p1 -l < $root/patches/nginx-$main_ver-subrequest_loop.patch || exit 1
patch -p1 -l < $root/patches/nginx-$main_ver-gzip_empty_flush_buf.patch || exit 1
patch -p1 < $root/patches/nginx-$main_ver-variable_header_ignore_no_hash.patch || exit 1
rm -f *.patch || exit 1
cd .. || exit 1

2
util/upgrade-patches.pl Normal file → Executable file
View File

@ -21,7 +21,7 @@ for my $file (@files) {
or die "failed run command $cmd.\n";
}
my $cmd = "sed -i 's/1\.0\.5/1.0.6/g' $newfile";
my $cmd = "sed -i 's/\Q$ver\E/$newver/g' $newfile";
system($cmd) == 0
or die "failed to run command $cmd.\n";

View File

@ -1,7 +1,7 @@
#!/bin/bash
main_ver=1.0.6
minor_ver=21
main_ver=1.0.8
minor_ver=1
version=$main_ver.$minor_ver
echo $version