It is running on Linux with openSSL 0.9.8d. Regards, -binlu
-----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Dr. Stephen Henson Sent: Wednesday, March 10, 2010 8:13 PM To: openssl-users@openssl.org Subject: Re: BIO_do_connect() strange return On Wed, Mar 10, 2010, Bin Lu wrote: > > Thanks Steve. > > Why the connection is still invalid, because subsequent OCSP_sendreq_bio() > receives no response(while in blocking mode it does), after the 2nd time call > to BIO_do_connect() in the loop which always returns 1/success ? > > It is failing in OCSP connection after the 2nd successful BIO_do_connect() > call as soon as the BIO is made non-blocking. It works fine in blocking mode > but it does not timeout if the server is unreachable. > What OS are you on? Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org