summaryrefslogtreecommitdiffstats
path: root/Doc/library/ssl.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-03-28 00:22:09 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-03-28 00:22:09 (GMT)
commitf6b1d66a3ca060247e03e7b198db8a5a966b836e (patch)
tree09a7423be3c47ec27efb71f5457110a4a3361d1e /Doc/library/ssl.rst
parentce913877e42b7fa03434c2e765ace891e0f5c4dc (diff)
downloadcpython-f6b1d66a3ca060247e03e7b198db8a5a966b836e.zip
cpython-f6b1d66a3ca060247e03e7b198db8a5a966b836e.tar.gz
cpython-f6b1d66a3ca060247e03e7b198db8a5a966b836e.tar.bz2
Issue #23804: Fix SSL recv/read(0) to not return 1024 bytes
Diffstat (limited to 'Doc/library/ssl.rst')
-rw-r--r--Doc/library/ssl.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst
index 79b1a47..98e866f 100644
--- a/Doc/library/ssl.rst
+++ b/Doc/library/ssl.rst
@@ -842,7 +842,7 @@ SSL Sockets
SSL sockets also have the following additional methods and attributes:
-.. method:: SSLSocket.read(len=0, buffer=None)
+.. method:: SSLSocket.read(len=1024, buffer=None)
Read up to *len* bytes of data from the SSL socket and return the result as
a ``bytes`` instance. If *buffer* is specified, then read into the buffer