Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Commands in configuration files vs flags
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 5 Feb 2024 15:09:13 +0100 (CET)
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
Date: Mon, 5 Feb 2024 15:09:13 +0100 (CET)
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.htmlReceived on 2024-02-05