]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
What's New in Python 3.5: Document ssl methods change on timeout
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 28 Jul 2015 23:39:13 +0000 (01:39 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 28 Jul 2015 23:39:13 +0000 (01:39 +0200)
Doc/whatsnew/3.5.rst

index 8dee183f94ac2120cbd332180189aa5ee86cf833..cc100f2eb7effd10080e41bdde1ee092ff3b757b 100644 (file)
@@ -750,6 +750,15 @@ sndhdr
   :func:`~collections.namedtuple`.
   (Contributed by Claudiu Popa in :issue:`18615`.)
 
+ssl
+---
+
+The :meth:`~ssl.SSLSocket.do_handshake`, :meth:`~ssl.SSLSocket.read`,
+:meth:`~ssl.SSLSocket.shutdown`, and :meth:`~ssl.SSLSocket.write` methods of
+:class:`ssl.SSLSocket` don't reset the socket timeout anymore each time bytes
+are received or sent. The socket timeout is now the maximum total duration of
+the method.
+
 socket
 ------