]> git.ipfire.org Git - thirdparty/curl.git/commit
tool_operate: Fix retry sleep time shown to user when Retry-After
authorStian Soiland-Reyes <stain@apache.org>
Wed, 16 Oct 2019 13:35:56 +0000 (14:35 +0100)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 16 Oct 2019 17:56:38 +0000 (13:56 -0400)
commitfe5c2464db11a2a4ec035def144635b5f1295885
treeefd3382a99fd5c077be4e03de05846361ac798e1
parente062043433381fa5fd2f90b2fcc9dc912dbb79f6
tool_operate: Fix retry sleep time shown to user when Retry-After

- If server header Retry-After is being used for retry sleep time then
  show that value to the user instead of the normal retry sleep time.

This is a follow-up to 640b973 (7.66.0) which changed curl tool so that
the value from Retry-After header overrides other retry timing options.

Closes https://github.com/curl/curl/pull/4498
src/tool_operate.c