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: Claus Dybdal Nielsen via curl-users <curl-users_at_lists.haxx.se>
Date: Mon, 5 Feb 2024 15:15:54 +0100
Daniel can't you remove me from the mailinglist, i', not able to do it.
Claus Dybdal Nielsen
Den 05-02-2024 kl. 15:09 skrev Daniel Stenberg via curl-users:
> 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:15:54 +0100
Daniel can't you remove me from the mailinglist, i', not able to do it.
Claus Dybdal Nielsen
Den 05-02-2024 kl. 15:09 skrev Daniel Stenberg via curl-users:
> 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
>
-- Hilsen Claus Dybdal Nielsen Nordtårnet Amager Strandvej 114C,10.mf 2300 København S claus_at_dybdal-nielsen.dk m +45 40 31 84 89 -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2024-02-05