cURL / Mailing Lists / curl-library / Single Mail

curl-library

Bug#114228: libcurl-dev: Proxy support documentation misleading

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 3 Oct 2001 10:52:05 +0200 (MET DST)

Hi Dirk

I fell over your bug report at Debian, that seems to indicate a problem in
libcurl:

------ start snip ---------
I was trying to extend the simple.c example to work from behind a firewall.
Reading the curl_easy_setopt(3) manual page suggest that CURLOPT_PROXY and
CURLOPT_PROXYUSERPWD should enable this.

They don't, or at least not until one also adds CURLOPT_USERPWD -- which
runs counter to the two paragraphs in the above mentioned manual page.
Nothing in the text about CURLOPT_USERPWD suggest that it is also needed for
a proxy.

In fact, as there is a chance that the behaviour is wrong inside the
library, it would be best if the bug report could be forwarded.
------ end of snip -----

Can you provide us with more details on this? Can you show us the VERBOSE
output from a protocol dump when you connect to/use the proxy without the
CURLOPT_USERPWD set and one test with it set?

Also, try upgrading to libcurl 7.9 as that is better.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-03