cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET