change: renamed the 'ssl_pending_session' patch to 'ssl_sess_cb_yield' for NGINX cores 1.17.1 and above.

Its naming is now aligned with the `ssl_cert_cb_yield` patch.

See 08e9e50 for details on why this renaming was reverted for the 1.15.8
version of this patch.
This commit is contained in:
Thibault Charbonnier 2019-07-11 11:37:33 -07:00
parent cef09e553f
commit a51fa56086
2 changed files with 10 additions and 3 deletions

View File

@ -414,9 +414,16 @@ echo "$info_txt applying the ssl_cert_cb_yield.patch patch to nginx"
patch -p1 < $root/patches/nginx-$main_ver-ssl_cert_cb_yield.patch
echo
echo "$info_txt applying the ssl_pending_session.patch patch to nginx"
patch -p1 < $root/patches/nginx-$main_ver-ssl_pending_session.patch
echo
answer=`$root/util/ver-ge "$main_ver" 1.17.1`
if [ "$answer" = "N" ]; then
echo "$info_txt applying the ssl_pending_session.patch patch to nginx"
patch -p1 < $root/patches/nginx-$main_ver-ssl_pending_session.patch
echo
else
echo "$info_txt applying the ssl_sess_cb_yield.patch patch to nginx"
patch -p1 < $root/patches/nginx-$main_ver-ssl_sess_cb_yield.patch
echo
fi
echo "$info_txt applying the upstream_timeout_fields patch for nginx"
patch -p1 < $root/patches/nginx-$main_ver-upstream_timeout_fields.patch || exit 1