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, and that seems to be interpreted as some kind of EOF 
or shutdown indicator.

(IMO suppress_ragged_eofs=True is a bad default. It essentially treats a 
man-in-the-middle shutdown as a genuine secure shutdown, but that would be a 
separate issue.)

----------
stage: resolved -> patch review
status: closed -> open
Added file: http://bugs.python.org/file43555/recv-zero.v2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23804>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to