cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: --engine option

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 7 Dec 2004 22:50:56 +0100 (CET)

On Tue, 7 Dec 2004, Dan Fandrich wrote:

(this is actually curl the command line tool talk, not libcurl)

> If something like that is added, the option setting will have to be more
> intelligent. Right now, many options are set blindly to default values,
> regardless of whether they were specified on the command line or not. If the
> program errs out on the first setopt error, then curl would always abort
> when it run with a libcurl that has been compiled without support for HTTP,
> for example, since it sets some HTTP options regardless of what kind of URL
> is specified on the command line.

... which would introduce something that isn't around today. By deliberately
avoiding figuring out what protocol that might be used, curl better allows
whatever protocols the library might support.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-12-07