>>> Create an SSL connection to localhost.
>>>
>>> View a file with less or emacs. For best results, use
>>> a file with long lines that fill the screen.
>>>
>>> Hit ^L to redraw the screen repeatedly, Eventually, only
>>> a partial redraw will take place and won't complete until
>>> another key is pressed.
>>> FWIW, this problem has existed since the switch to the openssl based
>>> libssl09 and telnet(d)-ssl packages were introduced.
This sounds like an application bug -- probably it uses select() when
the SSL buffers still have data. (Even s_client had this bug.)
Solution: Use non-blocking I/O and try SSL_read just in case (or skip
it if SSL_pending returns 0 -- but SSL_pending returning non-0 does
not mean that there's actually any application data available); use
select() only if SSL_read asks for it.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]