cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl APIs failure reasons

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 16 Jul 2009 15:55:40 +0200 (CEST)

On Thu, 16 Jul 2009, centrio_at_gmail.com wrote:

> I want to know if a CURL api fails, is it that it will fail throughout the
> application life?

That's not possible to tell. Perhaps. Or perhaps not.

Is a failed memory allocation "permanent"? Is a failed name resolve permanent?
Is a failed TCP connect permanent? We can't tell.

I would rather claim that the single place that would have the most info on
this to take a decision, is your application.

-- 
  / daniel.haxx.se
Received on 2009-07-16