But the SSL object structure is too complex,
it containing too many pointer, and many other object pointer which also
containing pointer.

That is hard to translate all of them.

Is there any method, that just pass some element of SSL structure connection
to [Request Handler], then [Request Handler] receive these element, put them
and the connection file descriptor to it own SSL structure object?


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Goetz Babin-Ebell
Sent: Tuesday, May 10, 2005 2:55 PM
To: openssl-users@openssl.org
Subject: Re: How to pass SSL connection/object from one process to another?

lewislyk wrote:
> Thanks for your solution.
> 
> But if using shared memory, the shared memory address attached in the
> [Request Handler] and [Request Parser] may be different, the SSL object
will
> not usable in both process.

Oups Yes..
The solution for that would be a translator
that knows the memory address of the old data in the old scope
and the new scope.
But then you would have to step though the whole SSL data
and translate all pointers...

I think you should use a thread in the request parser process
as frontend for the handler (doing the SSL stuff and passing
the unencrypted data to a local socket).

Bye

Goetz

-- 
DMCA: The greed of the few outweighs the freedom of the many

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to