cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 Mar 2009 14:51:47 +0100 (CET)

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