cURL / Mailing Lists / curl-library / Single Mail

curl-library

bug in --fail with --proxy-ntlm

From: David Byron <DByron_at_everdreamcorp.com>
Date: Thu, 22 Apr 2004 08:18:46 -0700

I've found a small bug with the --fail and authentication stuff I added a
few weeks ago. Turns out that if you specify --proxy-ntlm and communicate
with a proxy that requires basic authentication, the proxy properly returns
a 407, but the failure detection code doesn't realize it should give up, so
curl returns with exit code 0.

I'm looking into it now and hope to have a test case and a patch to fix it
in a few hours. Since it seems like we're inching close to a release, I
thought I'd spread the word now.

-DB
Received on 2004-04-22