Hello Daniel,

Tuesday, December 1, 2020, 6:29:12 PM, you wrote:

DSvcl> Here's an idea: a function that can return the equivalent curl command 
line
DSvcl> based on the options set in the easy handle!

IMO it belongs to curl code, not to curl-library. This function will
be dead code for any application using libcurl - except for curl
itself.

DSvcl> For debugging and more.

I'd suggest we add some centralized mapping of options to CURLOPT_*
and back. Otherwise this new function will have to be constantly kept
in sync with the rest of the code - too much hassle for too few
benefits.

DSvcl>    https://github.com/curl/curl/wiki/curl_easy_cmdline

DSvcl> Thoughts?




-- 
Best regards,
 Tetetest                            mailto:tetet...@rambler.ru

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to