cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[ curl-Feature Requests-3488178 ] [patch] Retry on CURLE_COULDNT_CONNECT

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 16 Feb 2012 03:22:12 -0800

Feature Requests item #3488178, was opened at 2012-02-16 03:21
Message generated for change (Settings changed) made by zhezherun
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350976&aid=3488178&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: command line client
Group: download
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Andrew Zhezherun (zhezherun)
Assigned to: Daniel Stenberg (bagder)
>Summary: [patch] Retry on CURLE_COULDNT_CONNECT

Initial Comment:
When using curl, I sometimes get random "couldn't connect to host errors". I am not sure what is causing them, but the server looks to be operational, and running the same command after a few seconds usually works. I tried to use the --retry option, however it turned out that it treats CURLE_COULDNT_CONNECT as a fatal error and does not try again if it occurs. Could this error code be included please when curl determines whether to retry? I have attached a patch that should address this issue.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=350976&aid=3488178&group_id=976
Received on 2012-02-16

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET