Hi!

I'm making a few objects that are communicating with eachother using SSL. It
almost works now, but I want my client to read from the connection until
there are no more to read, without knowing how much the server is sending. I
thought using SSL_pending() would do the trick. However, the call to
SSL_pending() always returns 0, even though there is something to read: If I
comment it out, the client reads line after line, but hangs when there is no
more to read. Why does it return 0 if there is something to read?

I would include some source code, but I have no idea where the problem is,
so there is a bit to much code to include. If anyone has an idea where the
problem might be, I'd include some code. 

Christian Rygg
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to