cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl_easy_getinfo problem : to retrieve the http error codes

From: Shilpi Aggarwal <shilpidce_at_gmail.com>
Date: Tue, 4 Dec 2007 20:03:39 +0530

curl_easy_getinfo :: ideally should return HTTP error codes with
CURLINFO_HTTP_CONNECTCODE flag supplied as its parameter.
I have gone through this thread of yours :
Re: CURLINFO_HTTP_CONNECTCODE problem**Tried using *CURLOPT_HTTPPROXYTUNNEL
set and then curl_easy_getinfo but it always returns 0 even if the server is
down. It never returns the expected error code (Infact, doesnt return any
error code). Always 0 is returned in the third parameter of this function.
Is this a known bug or am i doing something wrong ?

Thanks
*--
Shilpi Aggarwal

"A scientist builds in order to learn;
an engineer learns in order to build."
Received on 2007-12-04