On Fri, Jun 21, 2002 at 12:36:55AM +0000, Ming Zeng wrote: > I have a multithreade application which uses OpenSSL to get contents from > HTTPS server (here an IIS server). The HTTPS server requires client side > certificate. > > My program uses: > SSL_CTX_set_mode(ctx, SSL_MODE_AUTO_RETRY); > so I do not need to handle SSL_ERROR_WANT_WRITE, SSL_ERROR_WANT_READ (even > though my code covers these logics). > > My program calls SSL_set_connect_state(...) to tell its a SSL client, and > it uses SSL_connect(...) to connect to the HTTPS server. > > In most times, my program works without any problem. But every couple of > hours (sometimes 2 hours, sometimes 3 or more), SSL_read gives me back > SSL_ERROR_SYSCALL error and the detail is: > error:140940E5:SSL routines:SSL3_READ_BYTES:ssl handshake failure
And you don't get any more error entry than this single one? Best regards, Lutz -- Lutz Jaenicke [EMAIL PROTECTED] http://www.aet.TU-Cottbus.DE/personen/jaenicke/ BTU Cottbus, Allgemeine Elektrotechnik Universitaetsplatz 3-4, D-03044 Cottbus ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]