, October 20, 2006 9:57
To: openssl-users@openssl.org
Subject: Re: RE: Multithreading problem
I am very, very new to openssl. There is a good example (Example 5-16,
Network Security with Openssl book)) for using nonblocking openssl. It
is easy to understand. It uses one thread to handle 2
I am somewhat confused. Network Security with OpenSSL states quite clearly that OpenSSL handles multithreading and blocking sockets fine as long as you give it proper callbacks to acquire locks as needed. If you go to the book's site and download the code examples (
http://www.opensslbook.com/) it
Actually, it's extremely complicated. For example, what do you
do if you call 'write' and it doesn't return in a reasonable
amount of time?
You cannot use 'select' with blocking sockets. If you do, and
your 'write' blocks (say because only a few bytes could be
written at that
I am somewhat confused. Network Security with OpenSSL states quite
clearly that OpenSSL handles multithreading and blocking sockets
fine as long as you give it proper callbacks to acquire locks as
needed. If you go to the book's site and download the code examples
(
First... sorry for trash in my post's subjects. I'm using www
interface on my email provider site for sending emails and there is
no option to change this. (I don't known if this is my mailbox or this
mailing list server problem).
Actually, it's extremely complicated. For example, what do
I am very, very new to openssl. There is a good example (Example 5-16,
Network Security with Openssl book)) for using nonblocking openssl. It
is easy to understand. It uses one thread to handle 2 nonblocking
socket. You may have to modify it to handle multithread. At least, you
have example