[issue31711] ssl.SSLSocket.send(b"") fails

Jörn Heissler report at bugs.python.org
Mon Dec 23 13:47:33 EST 2019


Jörn Heissler <launchpad2019 at tutnicht.de> added the comment:

Manpage (openssl 1.1.1d) now states:

You should not call SSL_write() with num=0, it will return an error.  SSL_write_ex() can be called with num=0, but will not send application data to the peer. SSL_write_ex was added in 1.1.1

So it looks like openssl cleaned up another mistake by defining SSL_write_ex's behaviour to be a noop.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31711>
_______________________________________


More information about the Python-bugs-list mailing list