Jeffrey Altman writes:
Suggestion. Do not wait until you establish your first connection to
call RAND_poll(). Initializae the PRNG as part of the startup of your
app or in a background thread.
Yes; I have already done this, and it helps, but this is just a
band-aid.
The bottom line is,
Greetings.
The first SSL connection in my application was taking some 10 to 16
seconds to return. Thereafter, subsequent SSL connections would
complete and return immediately.
I eventually traced the culprit to RAND_poll() in rand_win.c.
Specifically, it was the part of RAND_poll() that walks