cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to set a proxy server with path elements?

From: Glenn Waldron <gwaldron_at_gmail.com>
Date: Mon, 23 Mar 2009 10:07:46 -0400

Ahhh.. bingo, a PAC script is exactly what it is. My client is complaining
that our proxy support (via lbicurl) does not work with it ... but I was not
aware of the PAC approach until you mentioned it and I looked it up.

Thanks for your help, this answers my question.

Glenn Waldron : Pelican Mapping

On Mon, Mar 23, 2009 at 9:51 AM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Mon, 23 Mar 2009, Glenn Waldron wrote:
>
> I'm using libcurl 7.19.4 and am trying to connect to an HTTP proxy server
>> with an endpoint that looks like:
>>
>> host.com:39001/proxy.asp
>>
>> What is the proper way to set that using curl_easy_setopt calls? It's the
>> "/proxy.asp" that is throwing me off.
>>
>
> That looks completely wrong. A HTTP proxy cannot be used that way. I would
> gues that what you have there is a URL for a 'pac' script or something.
>
> --
>
> / daniel.haxx.se
>
Received on 2009-03-23