Christian Heimes <li...@cheimes.de> added the comment:
You can't use sock_recv() with a wrapped SSL socket. A SSLSocket behaves differently because there is user-level buffering. The connection operates on TLS frames and only hands off data after it has been decrypted and verified. asyncio uses wrap_bio(). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37404> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com