cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Retry on connection refused

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 26 May 2010 09:59:06 +0200 (CEST)

On Wed, 26 May 2010, Andrew Miklas wrote:

> Is there anyway to get curl to treat a "connection refused" error as
> transient for the purposes of the retry logic? I'm basically looking for
> something similar to wget's ----retry-connrefused option.

No, there's currently no such functionality but I can see how it could be
useful at times.

Someone needs to step forward and write the code for it.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-05-26