[go: up one dir, main page]

Menu

Code Merge Request #1: Add parameter --retry-failed-url (open)

Merging...

Merged

Something went wrong. Please, merge manually

Checking if merge is possible...

Something went wrong. Please, merge manually

Carlos Fernandez wants to merge 1 commit from /u/cfsmp3/wput/ to master, 2018-11-30

This commit adds the option to retry failed URL. The reason is that I'm see permanent failures (even with -retries=-1) due to network errors.
A "hostname doesn't exist" is not a permanent error, for example. Any reason that can be fixed externally (even if that means adding a new
DNS record, or a user to a FTP service, etc) is not permanent, and wput should be rock solid and never give up in these cases.

utils.c => retry_wait => Accept NULL instead of a session. If NULL then use a global retry counter, otherwise use the session counter as before.
queue.c => Add logic to optionally retry failed URL due to parsing
wput.c / .h => Add parameter --retry-failed-url

Commit Date  
[6e65fd] (HEADmaster) by Carlos Fernandez Sanz Carlos Fernandez Sanz

This commit adds the option to retry failed URL. The reason is that I'm
see permanent failures (even with -retries=-1) due to network errors.
A "hostname doesn't exist" is not a permanent error, for example. Any
reason that can be fixed externally (even if that means adding a new
DNS record, or a user to a FTP service, etc) is not permanent, and wput
should be rock solid and never give up in these cases.

utils.c => retry_wait => Accept NULL instead of a session. If NULL then
use a global retry counter, otherwise use the session counter as before.
queue.c => Add logic to optionally retry failed URL due to parsing
wput.c / .h => Add parameter --retry-failed-urls

2018-11-30 02:09:09 Tree

Discussion


Log in to post a comment.