I didn't use the code below verbatim, as I already had my own, but I've
finally tracked down why I wasn't getting the performance/session reuse
I expected, and I think the same bug is in this example code (which is
otherwise very clear and useful). So I'm posting a fix in case anyone
does use th
I'm looking at preserving sessions on the client and found the quoted
email saved away in my mailbox.
Looking at the code, it seems that SSL_free only deletes the session if
the reference count is zero. So can I keep an SSL_SESSION simply by
incrementing the reference count and saving a pointer
Tim Bartley <[EMAIL PROTECTED]>:
> Is it possible to have a client session (SSL_SESSION) established for some
> connection persist after that connection has been SSL_free'd so that it can
> be used in a subsequent connection?
> I had a quick look through headers and so on and thought SSL_CTX_add