[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2016-07-11 Thread Martin Panter
Martin Panter added the comment: Oops, that last merge is not related to this -- ___ Python tracker ___ ___

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2016-07-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset df908a9d97a6 by Martin Panter in branch 'default': Issue #23804: Merge spelling and NEWS fixes from 3.5 https://hg.python.org/cpython/rev/df908a9d97a6 -- ___ Python tracker

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2016-07-11 Thread Martin Panter
Changes by Martin Panter : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2016-07-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 74856df7e55b by Martin Panter in branch '3.5': Issue #23804: Fix SSL zero-length recv() calls to not block and raise EOF https://hg.python.org/cpython/rev/74856df7e55b New changeset 43d7e5fb3bc2 by Martin Panter in branch '2.7': Issue #23804: Fix

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2016-06-26 Thread Martin Panter
Martin Panter added the comment: This was not fixed properly. The first symptom is that recv(0) etc still blocks if the other end sends no data. The second symptom is that it does not work with suppress_ragged_eofs=False. The problem is SSL is still called to do a read, which returns zero,

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2016-03-28 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6 -Python 3.4 ___ Python tracker

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2016-03-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7a3c5f7dda86 by Martin Panter in branch '3.5': Issue #23804: Fix SSL recv/read(0) to not return 1024 bytes https://hg.python.org/cpython/rev/7a3c5f7dda86 New changeset 72c457f9533a by Martin Panter in branch 'default': Issue #23804: Merge SSL zero

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2015-05-14 Thread Martin Panter
Martin Panter added the comment: Here is a patch for 3.5 that changes the default size to explicitly be 1024, and tests that recv(0) and read(0) now work as I expect they should by returning nothing. -- keywords: +patch stage: - patch review Added file:

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2015-03-29 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +alex, christian.heimes, dstufft ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23804 ___ ___

[issue23804] SSLSocket.recv(0) receives up to 1024 bytes

2015-03-29 Thread Martin Panter
New submission from Martin Panter: The documentation claims that SSL socket objects provide some of the same methods as plain socket objects, including recv(), and that the “bufsize” parameter specifies the maximum amount of data to be received. With ordinary sockets, socket.recv(0) always