Bodo Moeller wrote:
> > I'm currently writing a multi-platform webserver using openSSL and I do also
> > experience problems with the fact that the networking code is too tighty
> > integrated with openSSL. ...
> > If openSSL would be more of a library that runs on top af a stream (any
> > stream, being network/stdin/whatever...) it will gain potential on more
> > obscure/less known/non-unix platforms.
>
> You can run it on top of any stream by either writing your own
> BIO module, or by using a BIO pair (or a memory BIO).
> I implemented an SSL/TLS extension for a web server written
> in Common Lisp by using BIO pairs, and Common Lisp streams
> certainly are different from Unix file handles.
I suppose - but if OpenSSL *just didn't try to do networking*,
we wouldn't have to learn the BIO abstraction. Sure would be
easier. I think this is a case of the library trying to
do too much, and ending up being hard to use.
But I am soldiering on, trying to understand the BIO part.
I'm having trouble using BIO pairs to set up a nonblocking
connection.
- Dan
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]