curl-users
[ curl-Bugs-845941 ] fetching https, curl returns code 56 on 407 from proxy
Date: Thu, 20 Nov 2003 08:53:40 -0800
Bugs item #845941, was opened at 2003-11-20 11:53
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=845941&group_id=976
Category: libcurl
Group: wrong behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: Josh Kapell (jkapell)
Assigned to: Daniel Stenberg (bagder)
Summary: fetching https, curl returns code 56 on 407 from proxy
Initial Comment:
libcurl returns error CURLcode 56 (CURLE_RECV_ERROR)
on 407 from proxy when fetching https resource.
libcurl version: 7.10.8
os: RedHat 7.3 (kernel 2.4.20)
When fetching an https resource from a proxy that
requires basic authentication curl returns error CURLcode
56 (CURLE_RECV_ERROR) when the proxy responds with
a 407 (proxy authentication required). This is
problematic as curl doesn't provide the 407 header
making it impossible to extract the challenge information
necessary (auth method & realm) to re-fetch. It seems
that curl should return CURLE_OK and then provide the
407 header & body which would be consistent with curls
behavior given an http url.
I've attached some code that will reproduce the bug but
you'll need to specify a proxy server requiring basic
authentication.
Best,
Josh
joshuakapell_at_yahoo.com
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=845941&group_id=976
-------------------------------------------------------
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-20