cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Issue - necessary data rewind wasn't possible

From: Yehezkel Horowitz <horowity_at_checkpoint.com>
Date: Thu, 12 Dec 2013 07:33:23 +0000

>I have one more question on this. In this situation I am getting CURLE_OK. Because the connection has broken, I don't have HTTP code as well.
>I can make a retry on this particular case from my application, but if I get CURLE_OK how does my application recognize it?

>Could you please tell me how can my application recognize for retry in this case?
You should use CURLOPT_IOCTLFUNCTION and you will be called with CURLIOCMD_RESTARTREAD.

HTH
Yehezkel Horowitz

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-12