From: Victor Stinner Date: Tue, 28 Jul 2015 23:39:13 +0000 (+0200) Subject: What's New in Python 3.5: Document ssl methods change on timeout X-Git-Tag: v3.5.0rc1~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=287452eeaf0d7f0be6467b49716e76d7c9119cda;p=thirdparty%2FPython%2Fcpython.git What's New in Python 3.5: Document ssl methods change on timeout --- diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 8dee183f94ac..cc100f2eb7ef 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -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 ------