CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/10/05 14:54:20
Modified files:
usr.bin/ftp : fetch.c
Log message:
Retry request once when receiving a 503
Basic implementation: we just retry once, and make no attempt (yet) to
parse any Retry-After header.
The idea is to work around cdn.openbsd.org sometimes replying with a 503
for reasons unknown. According to juanfra@ it sets "Retry-After: 0" so
this minimal implementation should be enough.
Different diff from espie@, test case from sthen@, input from
millert@, ok millert@ deraadt@