curl-library
Re: hang if using wrong password for proxy authentication
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 14 May 2004 15:41:46 +0200 (CEST)
Date: Fri, 14 May 2004 15:41:46 +0200 (CEST)
On Thu, 13 May 2004, Jerry G. Chiuan wrote:
> but how can I get error code from curl? I have tried 7.11.0, it doesn't
> hang, but curl_easy_perform() still return 0 how can I know proxy
> authentication fails specifically?
curl_easy_getinfo() and the CURLINFO_RESPONSE_CODE option. It should return a
407 to you in this case.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-05-14