Re: Commands in configuration files vs flags

Daniel Stenberg via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <[email protected]>
On Sat, 3 Feb 2024, Brett Buddin via curl-users wrote:

> When I use "variable" in a configuration file, I see a warning, but
> the tool continues to execute the request:

...

> I found this a bit surprising

Ugh, yes. I think this is a mistake we need to fix.

> Are there any configuration file commands that can cause a fatal error and 
> stop the execution of the request? Do all configuration file commands 
> produce warnings if you violate their expectations? I'm not sure if it 
> exists or is desirable, but is there a more strict mode for configuration 
> file error handling?

I think we should stop and exit on all errors basically. Here is my proposed 
fix:

   https://github.com/curl/curl/pull/12862

-- 

  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://curl.se/support.html
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.