Antoine Pitrou added the comment:

> So to make use of select with SSL the application would have to check first
> with pending, if there are already buffered data,

What's the point of checking? Just call SSL_read() and catch the 
SSL_ERROR_WANT_{READ,WRITE} to determine that no data is available; as a bonus 
it also tells you whether you have to select() for read or for write.

----------

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

Reply via email to