On Fri, 22 Mar 2019, Rich Megginson wrote:
(I noticed you also posted this as an issue, with some additional details
over at https://github.com/curl/curl/issues/3698 but we don't do feature
requests there so expect that one to close soon.)
Will it go into https://curl.haxx.se/docs/todo.html then ?
Yes.
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.
--
/ daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html