diff options
author | Christian Heimes <christian@python.org> | 2019-06-03 19:00:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-03 19:00:10 (GMT) |
commit | 78c7d527799dacca91b9ed67057cb996efe526b0 (patch) | |
tree | b7c3f7ec352e5819c548b5ce3fd03672f3ccbd6b /Doc/library/ssl.rst | |
parent | 47eb2234061524562a4b484e3a395f4fdd6c1b76 (diff) | |
download | cpython-78c7d527799dacca91b9ed67057cb996efe526b0.zip cpython-78c7d527799dacca91b9ed67057cb996efe526b0.tar.gz cpython-78c7d527799dacca91b9ed67057cb996efe526b0.tar.bz2 |
bpo-37120: Add SSLContext.num_tickets (GH-13719)
Signed-off-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r-- | Doc/library/ssl.rst | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index be09f38..279af57 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -1959,6 +1959,19 @@ to speed up repeated connections from the same clients. .. versionadded:: 3.7 +.. attribute:: SSLContext.num_tickets + + Control the number of TLS 1.3 session tickets of a + :attr:`TLS_PROTOCOL_SERVER` context. The setting has no impact on TLS + 1.0 to 1.2 connections. + + .. note:: + + This attribute is not available unless the ssl module is compiled + with OpenSSL 1.1.1 or newer. + + .. versionadded:: 3.8 + .. attribute:: SSLContext.options An integer representing the set of SSL options enabled on this context. |