cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: introduced an auth callback

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 16 May 2012 22:56:42 +0200 (CEST)

On Wed, 16 May 2012, Dan Fandrich wrote:

>> Complicated alternatives that would be much easier solved if libcurl told
>> the app about what it figured out.
>
> How about a curl_easy_getinfo CURLINFO_EFFECTIVE_PROXY option that returns
> the URL to the proxy? Seems like it might be useful in the general case,
> too.

Oh the simplicity!

Yes, that sounds like a really useful thing to add no matter what and would
suit this use-case too.

I figure that proxy string would then be a full "URL" style one with the
protocol prefixed and credentials (if any) embedded or should we provide the
proxy protocol, user names etc separately?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-16