Hi folks!
Just compiled OpenSSL 0.9.6 (I used masm to make some bits faster). I am having problems with it. Here are the problems:
Problem 1
I can successfully send an HTTP request and receive a response from my own IIS5 server which has SSL setup. If I rerun the same code over and over, it appears as though sometimes (maybe 1 out of 5) the thing seems to stall and timeout at SSL_connect(). Why is this so? Of course it works correctly every time in either browser (ie or netscape). And yes, I run all the proper cleanup code as per the example in openssl-0.9.6\demos\ssl\cli.cpp between each iteration.
Problem 2
On another server, I can never connect (I get -1 when I call SSL_connect()). I would like to diagnose exactly why it is not working correctly, but when I call ERR_print_errors_fp(stdout) I always get an access violation! So of course I cannot find out why it is not working. For this problem, I have tried 0.9.6 and 0.9.5 and I get the same ERR_print_errors_fp() problem with both. I am using ERR_print_errors_fp(stdout) as per the example code in openssl-0.9.6\demos\ssl\cli.cpp.
Any help would be appreciated.
Mat Dodgson