Skip to content

Commit 811f4bd

Browse files
[3.12] gh-73580: Docs for tunnelling TLS through TLS (GH-22539) (GH-116149)
(cherry picked from commit 91c3c64) Co-authored-by: Carl Bordum Hansen <[email protected]>
1 parent 240e5f6 commit 811f4bd

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
@@ -1765,6 +1765,9 @@ to speed up repeated connections from the same clients.
17651765

17661766
*session*, see :attr:`~SSLSocket.session`.
17671767

1768+
To wrap an :class:`SSLSocket` in another :class:`SSLSocket`, use
1769+
:meth:`SSLContext.wrap_bio`.
1770+
17681771
.. versionchanged:: 3.5
17691772
Always allow a server_hostname to be passed, even if OpenSSL does not
17701773
have SNI.

0 commit comments

Comments
 (0)