Christian Heimes <li...@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. 

https://github.com/python/cpython/blob/master/Modules/_ssl.c#L682-L689
https://github.com/python/cpython/blob/master/Modules/_ssl.c#L2263

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

----------

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

Reply via email to