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 21:08:24 +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:23 PM
> To: libcurl development
> Subject: RE: introduced an auth callback
>
> As I've understood the problem, an application doesn't necesarily know which
> proxy it uses before-hand! If you allow the user to specify it somehow in an
> argument or config file the program have to make a rather complicated parsing
> to extract the info, but if the proxy information is passed in as an
> environment variable the application doesn't necessarily know about it at all
> until libcurl detects it. Or it needs to re-implement libcurls environment
> variable logic to catch the correct proxy to figure it out. Complicated
> alternatives that would be much easier solved if libcurl told the app about
> what it figured out.

Ah, I didn't realize libcurl has its own environment logic. I assumed the embedding app would need to check environment variables and set the proxy though setopt.

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-16