Hey Thanks a lot for the answer David.

Sanjay

--- David Schwartz <[EMAIL PROTECTED]> wrote:
> 
> >    I read many posts about multiple threads
> accessing
> > a single SSL connection for read/write. I am still
> > confused about the usage. What exactly is the
> truth?
> 
>       You cannot access the same SSL connection from more
> than one thread at a
> time.
> 
> >     If I have a client SSL connection that has 3
> to 4
> > threads accessing the same SSL connection for
> > read/write to the server, will it cause a
> problem??
> 
>       Yes, if they're accessing it at the same time. I
> can't imagine how two
> writes or two reads would be useful, so the only
> issue should be a read and
> a write at the same time. While that could be
> useful, you must not do that.
> 
> > If
> > yes, then can I make use of mutex locks to allow
> only
> > one thread access  the SSL connection (for
> read/write)
> > at a time??? If no, I am happy :)
> 
>       Yes, you can.
> 
>       DS
> 
> 
>
______________________________________________________________________
> OpenSSL Project                                
> http://www.openssl.org
> User Support Mailing List                   
> openssl-users@openssl.org
> Automated List Manager                          
> [EMAIL PROTECTED]
> 


        
                
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to