On Fri, 18 Mar 2011, MigueL DíaZ wrote:

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??

You can always just use the handle again. For most sorts of time-outs, the previous connection will not have survived anyway and your second request/invoke will make libcurl create a brand new connection.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to