STINNER Victor added the comment:

> Right now partial writes are not possible on a SSL socket, but this commit 
> makes them possible.

Oh, I didn't know (forgot) that SSL does allow partial write by default.

> I think the right solution here would be to raise OverflowError, not truncate 
> the output.

Do you mean always? Or only if the SSL_MODE_ENABLE_PARTIAL_WRITE option is not 
set?

----------

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

Reply via email to