Git Product home page Git Product logo

Comments (1)

timkay avatar timkay commented on June 12, 2024

I think it does as you suggest, retry when it makes sense based on the http
code. (I have seen a situation where the web server returned the wrong http
code, and the retry did not happen even though a retry would have solved
the problem.) I can't answer in much detail, as it's mostly a curl issue.
On Nov 17, 2015 1:25 PM, "Eric" [email protected] wrote:

I understand that "-max-time=N" will cancel and retry if a reponse doesn't
come back in N seconds .

And I read in Changes.txt "curl to retry 3 times in most cases", and
gather it depends on one's version of curl supporting retries or else it
will be disabled. The documentation page also says "Retries all requests up
to 3 times".

But when exactly do and don't retries happen? Will it retry any command on
any error response or just some? For example a head command returning 404
probably shouldn't retry. A checksum failure probably should retry. I would
think 400-series errors should not retry, but 500-series errors should. Is
this the rule of thumb used?


Reply to this email directly or view it on GitHub
#102.

from aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.