mirror of
https://github.com/openresty/openresty.git
synced 2024-10-13 00:29:41 +00:00
feature: updated the NGINX patches for async SSL session fetching to support OpenSSL 1.1.1.
The patch was also renamed from `ssl_pending_session.patch` to `ssl_sess_cb_yield.patch` (similarly to the existing `ssl_cert_cb_yield.patch` one). Signed-off-by: Thibault Charbonnier <thibaultcha@me.com>
This commit is contained in:
committed by
Thibault Charbonnier
parent
547fdd5fb2
commit
9e834398de
@ -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.15.8`
|
||||
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
|
||||
|
Reference in New Issue
Block a user