summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Bordum Hansen <carl@bordum.dk>2024-02-29 20:56:04 (GMT)
committerGitHub <noreply@github.com>2024-02-29 20:56:04 (GMT)
commit91c3c64237f56bde9d1c1b8127fdcb02a112b5a4 (patch)
tree83c20cb8b2b7732d5a33097fa448de187ade8c67
parentdbe44f150cd161bd327ed662e527a4c93829fb3e (diff)
downloadcpython-91c3c64237f56bde9d1c1b8127fdcb02a112b5a4.zip
cpython-91c3c64237f56bde9d1c1b8127fdcb02a112b5a4.tar.gz
cpython-91c3c64237f56bde9d1c1b8127fdcb02a112b5a4.tar.bz2
gh-73580: Docs for tunnelling TLS through TLS (GH-22539)
-rw-r--r--Doc/library/ssl.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index fa81c3f..ce8f3dd 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.