https://github.com/python/cpython/commit/91c3c64237f56bde9d1c1b8127fdcb02a112b5a4
commit: 91c3c64237f56bde9d1c1b8127fdcb02a112b5a4
branch: main
author: Carl Bordum Hansen <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-02-29T22:56:04+02:00
summary:

gh-73580: Docs for tunnelling TLS through TLS (GH-22539)

files:
M Doc/library/ssl.rst

diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index fa81c3f208cff7..ce8f3dd2d317c1 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -1790,6 +1790,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.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to