Hey.
Well, knock me over w/ a feather. After failing to get it to work on
Solaris and RH 6 and 7 I dug around in the code and changed/added one line
to htnet/SSLConnection.cc, adding
ctx = NULL
to the SSLConnection destructor
SSLConnection::~SSLConnection()
{
if ( ctx != NULL )
SSL_CTX_free(ctx);
// added to fix https connections
ctx = NULL;
}
and, by gum, it worked! I'd stuck some debugging in and noticed that ctx
was keeping its value even after the connection got closed, but the
constructor was checking for ctx == NULL and not doing anything if it
wasn't.
I still had to alter include/htconfig.h by hand to define HAVE_SSL,
HAVE_LIBSSL and HAVE_LIBCRYPTO - there's a bug in on those, due to the
open_ssl stuff.
a
Andy Bach, Sys. Mangler
Internet: [EMAIL PROTECTED]
VOICE: (608) 261-5738 FAX 264-5030
"To understand recursion, we must first understand recursion."
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html