cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: introduced an auth callback

From: Joe Mason <jmason_at_rim.com>
Date: Wed, 16 May 2012 23:17:45 +0000

> From: curl-library-bounces_at_cool.haxx.se [curl-library-bounces_at_cool.haxx.se] on
> behalf of Daniel Stenberg [daniel_at_haxx.se]
> Sent: Wednesday, May 16, 2012 4:56 PM
> To: libcurl development
> Subject: Re: introduced an auth callback
>
> On Wed, 16 May 2012, Dan Fandrich wrote:
>
> > 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!

So if we add this, should the auth callback get a url of NULL ("the url isn't relevant; this is proxy auth") or the pre-redirect url ("this is the url we were fetching when we got a 407")? I think I favour the latter, with a note in the docs that the url is not related to the proxy address.

Joe
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

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