diff options
author | busywhitespace <busywhitespace@tuta.io> | 2022-12-14 16:57:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 16:57:02 (GMT) |
commit | 96638538002fc6e209755c06f613b0a59eb91166 (patch) | |
tree | 8dfcd7ff10ac2010586b0ac6b4aa78c3e5039fec /Doc/library | |
parent | 5693f45b19de47f8cb2f08d3baf43e626d3fbdf3 (diff) | |
download | cpython-96638538002fc6e209755c06f613b0a59eb91166.zip cpython-96638538002fc6e209755c06f613b0a59eb91166.tar.gz cpython-96638538002fc6e209755c06f613b0a59eb91166.tar.bz2 |
gh-100248: Add missing `ssl_shutdown_timeout` parameter in `asyncio` docs (#100249)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/asyncio-stream.rst | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index d87e3c0..c1ae8ab 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -52,6 +52,7 @@ and work with streams: limit=None, ssl=None, family=0, proto=0, \ flags=0, sock=None, local_addr=None, \ server_hostname=None, ssl_handshake_timeout=None, \ + ssl_shutdown_timeout=None, \ happy_eyeballs_delay=None, interleave=None) Establish a network connection and return a pair of @@ -82,6 +83,9 @@ and work with streams: .. versionchanged:: 3.10 Removed the *loop* parameter. + .. versionchanged:: 3.11 + Added the *ssl_shutdown_timeout* parameter. + .. coroutinefunction:: start_server(client_connected_cb, host=None, \ port=None, *, limit=None, \ @@ -89,7 +93,7 @@ and work with streams: flags=socket.AI_PASSIVE, sock=None, \ backlog=100, ssl=None, reuse_address=None, \ reuse_port=None, ssl_handshake_timeout=None, \ - start_serving=True) + ssl_shutdown_timeout=None, start_serving=True) Start a socket server. @@ -121,12 +125,15 @@ and work with streams: .. versionchanged:: 3.10 Removed the *loop* parameter. + .. versionchanged:: 3.11 + Added the *ssl_shutdown_timeout* parameter. + .. rubric:: Unix Sockets .. coroutinefunction:: open_unix_connection(path=None, *, limit=None, \ ssl=None, sock=None, server_hostname=None, \ - ssl_handshake_timeout=None) + ssl_handshake_timeout=None, ssl_shutdown_timeout=None) Establish a Unix socket connection and return a pair of ``(reader, writer)``. @@ -150,10 +157,14 @@ and work with streams: .. versionchanged:: 3.10 Removed the *loop* parameter. + .. versionchanged:: 3.11 + Added the *ssl_shutdown_timeout* parameter. + .. coroutinefunction:: start_unix_server(client_connected_cb, path=None, \ *, limit=None, sock=None, backlog=100, ssl=None, \ - ssl_handshake_timeout=None, start_serving=True) + ssl_handshake_timeout=None, \ + ssl_shutdown_timeout=None, start_serving=True) Start a Unix socket server. @@ -176,6 +187,9 @@ and work with streams: .. versionchanged:: 3.10 Removed the *loop* parameter. + .. versionchanged:: 3.11 + Added the *ssl_shutdown_timeout* parameter. + StreamReader ============ |