bugfix: applied the upstream_filter_finalize patch to the nginx core to fix corrupted $upstream_response_time values when filter_finalize and error_page are both used. thanks Daniel Bento for the report.

This commit is contained in:
Yichun Zhang (agentzh)
2015-02-12 17:19:02 -08:00
parent 6142b6936f
commit 6be51e769a
2 changed files with 70 additions and 0 deletions

View File

@ -251,6 +251,10 @@ echo "$info_txt applying the pcre_conf_opt patch for nginx $ver"
patch -p1 < $root/patches/nginx-$ver-pcre_conf_opt.patch || exit 1
echo
echo "$info_txt applying the upstream_filter_finalize patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-upstream_filter_finalize.patch || exit 1
echo
answer=`$root/util/ver-ge "$main_ver" 1.5.9`
if [ "$answer" = "N" ]; then
echo "$info_txt applying the resolve-names-with-a-trailing-dot patch for nginx $ver"