cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Strange intermittent problems with libcurl and SQUID

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 28 Nov 2003 22:55:14 +0100 (CET)

On Fri, 28 Nov 2003, Andreas Falco wrote:

> I use libcurl.dll with SSL support

What version?

> When I run SQUID using the maximum debug level I see in the log file that
> the last letter of my password gets corrupted. I could not find an error in
> my code.

Always, no matter what password?

> Can you help me?

Given a fake user+password, can you show us what headers your use of libcurl
makes it send to the proxy (when the proxy thinks there's a missing letter)?

> sprintf(postthis, "user=%s&pwd=%s&file=%s&dest=@CF01", sUser.c_str(),
> sPwd.c_str(), name);

Mote that the name and password need to be url encoded here.

Your code looked fine.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
 [[ Do not post private mails to this email address. They won't reach me. ]]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
Received on 2003-11-28