I think that would be a very useful feature to have! I could definitely benefit from this in my application. I look forward to when this becomes available :)
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David Schwartz > Sent: Thursday, October 12, 2006 11:06 AM > To: openssl-users@openssl.org > Subject: RE: How to share SSL session when using CreateProcess/execv > > > > Agreed. If any object in shared memory contained a pointer > to another > > object in shared memory this could cause a problem. You > would have to > > ensure that the shared memory was mapped to the same address in all > > processes otherwise the pointers would not be valid. > > > > Cheers, > > Mark > > Since he's talking about a process that forks, there > shouldn't be a problem. > He just needs to create a shared mapping in the parent. After > the 'fork', the address will still be the same. > > However, in general, I think OpenSSL really could benefit > from the ability to serialize an SSL session (and everything > else it might need from its parent context) into a chunk of > bytes that can be read in and used to initialize a > free-floating session (creating private copies of other > associated objects if needed). > > This would be handy both for debug and to allow an SSL > session to be handed off. > > DS > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]