curl / Mailing Lists / curl-library / Single Mail

curl-library

curl_easy_getinfo return codes

From: surya chandrika <contactsuryac_at_gmail.com>
Date: Wed, 7 Feb 2018 21:17:40 +0530

Hi All,

While trying to read response of a multiperform.

 res = curl_easy_getinfo( e, CURLINFO_RESPONSE_CODE, &response_code )

if curl_easy_getinfo returns a value res != CURLE_OK, Please let me know
1. Should i re-try this request.
2. Drop this request.
Would the error code returned by this function same as in the below list:
https://curl.haxx.se/libcurl/c/libcurl-errors.html

Or is it like in case if res != CURLE_OK, it would have a valid
response_code , which could be looked upon for further actions.

Regards,
Surya

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-02-07