Skip to content

Commit 91c3c64

Browse files
authored
gh-73580: Docs for tunnelling TLS through TLS (GH-22539)
1 parent dbe44f1 commit 91c3c64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/ssl.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,9 @@ to speed up repeated connections from the same clients.
17901790

17911791
*session*, see :attr:`~SSLSocket.session`.
17921792

1793+
To wrap an :class:`SSLSocket` in another :class:`SSLSocket`, use
1794+
:meth:`SSLContext.wrap_bio`.
1795+
17931796
.. versionchanged:: 3.5
17941797
Always allow a server_hostname to be passed, even if OpenSSL does not
17951798
have SNI.

0 commit comments

Comments
 (0)