curl / Mailing Lists / curl-library / Single Mail


Re: How to use libcurl with a config file?

From: Daniel Stenberg via curl-library <>
Date: Mon, 25 Mar 2019 11:17:11 +0100 (CET)

On Fri, 22 Mar 2019, Rich Megginson wrote:

>> (I noticed you also posted this as an issue, with some additional details
>> over at but we don't do feature
>> requests there so expect that one to close soon.)
> Will it go into then ?


>> I think it is an interesting idea to move the config parser into the
>> library. Or perhaps, into *a* library. I haven't thought this through
>> really, but maybe it would make sense to have a dedicated "curlconfig"
>> library whose only purpose would be to read a curl config and set libcurl
>> options?
> It would certainly speed up development of applications that use libcurl,
> and that need/want to support dozens of libcurl options.

Yes, I can certainly see the beauty of offering something like that and the
curl tool could be a primary user of that API.

At the same time, this is not a feature request we've seen a lot over the
years so I'm not likely to personally invest much time and energy in this idea
unless a few others step forward and help out making it happen.

Received on 2019-03-25