cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: more on GnuTLS vs OpenSSL vs ...

From: Richard Atterer <richard_at_2005.atterer.net>
Date: Thu, 25 Aug 2005 12:21:13 +0200

On Thu, Aug 25, 2005 at 10:31:09AM +0200, Domenico Andreoli wrote:
> i don't know how sane is my idea of using the plugin concept.

This was also one of the first things I thought of, but curl is portable to
a huge set of platforms, and the approach would only be portable to a
handful of them. So I figured that Daniel wouldn't like it. :-7

I agree that it would be a nice solution - maybe the configure script could
just check if dlopen() is there, and fall back to the current way of
building if it isn't.

> you may define a plugin management API and a set of interfaces that allow
> multiple plugins to do things (GSS auth with whatever kerberos
> implementation, SSL with as many toolkits you like, name resolving
> cache,...).

Or, simpler, dlopen("/usr/lib/libssl.so") directly.

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  GnuPG key:
  | \/¯|  http://atterer.net  |  0x888354F7
  ¯ '` ¯
Received on 2005-08-25