[3.11] gh-73580: Docs for tunnelling TLS through TLS (GH-22539) (GH-116150)

(cherry picked from commit 91c3c64237)

Co-authored-by: Carl Bordum Hansen <carl@bordum.dk>
This commit is contained in:
Miss Islington (bot) 2024-02-29 22:03:59 +01:00 committed by GitHub
parent f4efc135b3
commit 8014ffda1d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1860,6 +1860,9 @@ to speed up repeated connections from the same clients.
*session*, see :attr:`~SSLSocket.session`.
To wrap an :class:`SSLSocket` in another :class:`SSLSocket`, use
:meth:`SSLContext.wrap_bio`.
.. versionchanged:: 3.5
Always allow a server_hostname to be passed, even if OpenSSL does not
have SNI.