Author ddddaaaa
Recipients christian.heimes, ddddaaaa
Date 2019-07-10.03:57:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562731064.9.0.934832826159.issue37535@roundup.psfhosted.org>
In-reply-to
Content
Hi, I've come across an issue with OpenSSL 1.1.1, when a client socket wrapped using ssl.wrap_socket() is used in select.select() its always returning ready for reading even though there appears to be nothing to read.

To reproduce:
0. Extract files from attached zip
1. Run server.py
2. Run client.py

I expect client.py to print "Nothing to read" and then b'\x00\x01\x02\x03', which it does with Python 2.7.14, 3.6.8 and 3.7.3 and OpenSSL 1.0.1f and 1.1.0g. 

With OpenSSL 1.1.1 it prints 'Pending: 0' and blocks on the sock.recv(1) call.

Thanks!
History
Date User Action Args
2019-07-10 03:57:44ddddaaaasetrecipients: + ddddaaaa, christian.heimes
2019-07-10 03:57:44ddddaaaasetmessageid: <1562731064.9.0.934832826159.issue37535@roundup.psfhosted.org>
2019-07-10 03:57:44ddddaaaalinkissue37535 messages
2019-07-10 03:57:44ddddaaaacreate