openssl: remove attached easy handles from SSL instances

- keeping the "current" easy handle registered at SSL* is no longer
   necessary, since the "calling" data object is already stored in the
   cfilter's context (and used by other SSL backends from there).
 - The "detach" of an easy handle that goes out of scope is then avoided.
 - using SSL_set0_wbio for clear reference counting where available.

Closes #10151
This commit is contained in:
Stefan Eissing 2022-12-28 09:58:09 +01:00 committed by Daniel Stenberg
parent 7fa449ca0c
commit f39472ea9f
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 41 additions and 144 deletions

View file

@ -4217,6 +4217,13 @@ if test "x$want_ech" != "xno"; then
fi
fi
dnl *************************************************************
dnl check whether OpenSSL (lookalikes) have SSL_set0_wbio
dnl
if test "x$OPENSSL_ENABLED" = "x1"; then
AC_CHECK_FUNCS([SSL_set0_wbio])
fi
dnl *************************************************************
dnl WebSockets
dnl