Do you mean using select() to handle multiple simultaneous connections?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Rich Salz
Sent: Wednesday, 28 September 2005 2:28 PM
To: Steven Reddie
Cc: [email protected]
Subject: RE: ideas on replacing where ERR_STATE is stored?

> How do you mean that the scheme doesn't work with worker threads?  
> Doesn't judicious use of ERR_remove_state overcome any problems of a 
> new job on a given thread "remembering" the error state of the previous
job(s)?

That's a re-usable worker-thread model.

Another model is to have "n" threads, where n is the number of CPU's in the
system and use non-blocking I/O to pick up and "put down" multiple SSL
"sessions" within a single thread.

        /r$

-- 
Rich Salz                  Chief Security Architect
DataPower Technology       http://www.datapower.com
XS40 XML Security Gateway  http://www.datapower.com/products/xs40.html

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to