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

Christian Heimes report at bugs.python.org
Mon Feb 26 04:57:24 EST 2018

Christian Heimes <lists at cheimes.de> added the comment:

The message "EOF occurred in violation of protocol" is set by Python. Python maps SSL_ERROR_SYSCALL with SSL error code == 0 and len == 0 to that error message. 


I don't know why the code was implemented that way.


Python tracker <report at bugs.python.org>

More information about the docs mailing list