curl-library
Timed out, now what?
Date: Fri, 18 Mar 2011 15:01:55 -0430
Hi all!
I've been a libcurl user from more than a year now, and suddenly I realized
I don't know the answer to a very simple question:
"Timed out, now what?"
Basically, I'm performing POST operations over https and I'm setting:
CURLOPT_CONNECTTIMEOUT 5
CURLOPT_TIMEOUT 15
CURLOPT_NOSIGNAL 1
As well as other parameters like url, post fields, write callback and output
buffer.
So, I'm optimizing my app and I'm wondering, if I need to do the entire
handle setup when I receive a timeout from curl_easy_perform. Can I use the
easy_handle right afterwards to retry? or do I need to initialize it over
again??
Best regards,
Miguel.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-18