curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: print curl_easy_setopt in debug function

From: Tejas <tejashs_at_protonmail.com>
Date: Fri, 15 Jun 2018 16:00:18 -0400

> On Mon, 11 Jun 2018, Tejas wrote:
>
> > I feel that Curl_debug should not need the struct connectdata. It is only
> >
> > using it to get "data->set.printhost && conn && conn->host.dispname" And
> >
> > "data->set.printhost" is always 0.
> >
> > The corresponding code to set it in lib/url.c seems to have been removed in
> >
> > 5e0d9aea3 ("Support for FTP third party transfers is now dropped",
> >
> > 2006-09-30)
>
> Wow, nice catch! I've just filed this PR to clean it up:
>
> https://github.com/curl/curl/pull/2647
>
>
> ----------------------------------------------------------------------------------------------------
>
> /daniel.haxx.se

Daniel is CURLOPT_FTP_RESPONSE_TIMEOUT option still valid? because I noticed that there is no handling for it in Curl_vsetopt (lib/setopt.c)

- Tejas

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-06-15