Hi *!
I have an application (OS MS Windows) that needs to speak https even if it is behind SOCKS4/5 proxy. I am using for OpenSSL for the SSL part & my code for using OpenSSL is taken from the file "\demos\ssl\cli.c". My problem is that when I connect via a SOCKS4/5 proxy (after doing the auth & stuff needed to connect via the proxy) I call "SSL_connect" and most of the time i don't get any errors and the connection is made successfully & i can send/recv data fine. But sometimes (like 20%) the SSL_connect takes quite a while and returns with an error. "SSL_get_error" tells me that its "SSL_ERROR_ZERO_RETURN" (its always this same error). I get this above behaviour only for connecting from SOCKS proxy. I am not sure if I have to do something different when I am connecting via a proxy. Any comments/suggestions are most welcome.
Thanks for your time,
Regards,
Usman.


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail


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

Reply via email to