Feature Requests item #3488178, was opened at 2012-02-16 03:21
Message generated for change (Tracker Item Submitted) 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: 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