Bug in CFHTTPMessageAddAuthentication?
Bug in CFHTTPMessageAddAuthentication?
- Subject: Bug in CFHTTPMessageAddAuthentication?
- From: Frederick Cheung <email@hidden>
- Date: Thu, 9 Feb 2006 20:58:09 +0000
I'm using CFNetwork for all my http transfer needs. I use proxy
settings as returned by the SystemConfiguration framework, and my app
can get the passwords for proxies from the keychain.
If I get a 407 response, I store the failed request, and the
following code is then called (on a fresh CFHTTPMessageRef)
CFHTTPMessageAddAuthentication(request,param-
>proxyFailedRequest,httpProxyUser,httpProxyPassword,NULL,true)
This normally works swimingly, however yesterday a user emailed in
because my app wasn't able to get through his corporate proxy, the
reason being that CFHTTPMessageAddAuthentication was failing and thus
no credentials were being set
However, if I called CFHTTPMessageAddAuthentication specifying
kCFHTTPAuthenticationSchemeBasic then CFHTTPMessageAddAuthentication
works fine (actually I first try kCFHTTPAuthenticationSchemeDigest,
then kCFHTTPAuthenticationSchemeBasic).
The Proxy-Authenticate challenge was
NTLM, Basic realm="ukbisaw01.prod.quest.corp", Kerberos, Negotiate
Any ideas as to what might be happening?
Fred
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden