summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-07-28 23:39:13 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-07-28 23:39:13 (GMT)
commit287452eeaf0d7f0be6467b49716e76d7c9119cda (patch)
tree08ebea003e38019c350c3d523358671e39d53328
parent6752d65dafd21fe3bf69bef290600d2a18e75754 (diff)
downloadcpython-287452eeaf0d7f0be6467b49716e76d7c9119cda.zip
cpython-287452eeaf0d7f0be6467b49716e76d7c9119cda.tar.gz
cpython-287452eeaf0d7f0be6467b49716e76d7c9119cda.tar.bz2
What's New in Python 3.5: Document ssl methods change on timeout
-rw-r--r--Doc/whatsnew/3.5.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index 8dee183..cc100f2 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
------