curl-library
How to retrieve connection error code
From: Pavel Orehov <pcarlo_at_bezeqint.net>
Date: Wed, 22 Dec 2004 09:44:05 +0200
Date: Wed, 22 Dec 2004 09:44:05 +0200
Hi,
I am using libcurl version 7.12.2, and I wonder how I can get
connection error code from curl.
I am trying to open the SSL tunnel with proxy (CONNECT
method) and the proxy response with 405 error message. When I
am using curl_get_info function to retrieve
CURLINFO_RESPONSE_CODE, I get 0 as response code. How can I
retrieve the real error code that occurred?
The same problem I have when some problem occurs on TCP
layer, CURLINFO_RESPONSE_CODE is 0. How can I get the TCP
layer error code?
Pavel Orehov.
Received on 2004-12-22