Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8216561

HttpClient: The logic of retry on connect exception is inverted

    XMLWordPrintable

Details

    • b05
    • Not verified

    Backports

      Description

        There's a jdk private property that allows to disable retry on connect, but the logic that handles it is inverted, and so retry on connect is disabled by default. Having retry on connect disabled by default may be the right thing to do, but then the name of the property should be change to reflect what it really does (see MultiExchange.java).
        Alternatively - we could retry on ConnectException on the condition that id does not double the connect timeout.

        Attachments

          Issue Links

            Activity

              People

                dfuchs Daniel Fuchs
                dfuchs Daniel Fuchs
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: