Dan Kegel wrote:
>
> I'm adding SSL support to my app, and am finding it
> tedious, partly because of having to figure out how
> OpenSSL supports nonblocking sockets.
>
> demo/state_machine/state_machine.c is better than nothing,
> but it waves its hands a fair bit,
Which bits are hand-wavy?
> and doesn't actually
> use nonblocking sockets.
It doesn't need to! It uses select instead.
> I'd like to see a nonblocking demo become part of the
> acceptance tests eventually -- after all, if it's really
> a good demo, it should work everywhere.
>
> If I get up the energy, I might fix up state_machine.c
> to be a little less hand-wavy, and / or write a program
> that does a regression test on nonblocking I/O support.
> (Heh, maybe I'll throw in a test case that demonstrates
> the bug in SSL_peek that nobody seems to care about :-)
Which bug is that?
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
"There is no limit to what a man can do or how far he can go if he
doesn't mind who gets the credit."
Robert Woodruff
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]