cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: different ways to bundle ca

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Mar 2012 23:01:40 +0100 (CET)

On Tue, 13 Mar 2012, Woods wrote:

> I notice there are two ways to bundle ca: (1) set a configure option
> and build; (2) set curl option in program.
> I wish to know if the first way incurs less overhead?

The end up doing pretty much the exact same operations so it doesn't matter.

> I mean if setting curl option in program will cause the ca.perm to be read
> repeatedly when curl handle is set with bundle option? Or if we set it in
> configure stage, and curl library will load it once and reuse among curl
> handles?

It depends on the SSL library in use, but it will always be read for all new
connections with some of them.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-14