On Wed, Feb 23, 2000 at 01:00:27PM -0800, Yoram Meroz wrote:
>> So what's the matter with www.apache-ssl.org
>> ("openssl s_client -debug -state -connect www.apache-ssl.org:443")?
> The error is returned by ssl3_read_bytes (s3_pkt.c, line 912). The comment
> says, "In the case where we try to read application data the first time, but
> we trigger an SSL handshake, we return -1 with the retry option set." Should
> I just be handling this differently than I am?
Apparently your program aborts the connection when SSL_read returns -1;
what it should do is query SSL_get_error with the return value of
SSL_read to see what is going on. See the SSL_get_error man page.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]