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

HttpClient should not use Instant.now() as Instant source for deadlines

    XMLWordPrintable

Details

    • b03

    Description

      The HttpClient uses Instant.now() to create deadlines for timeouts. This could have undesirable effects since Instant.now() is linked to the wall clock, which is not monotonic. Instead HttpClient should use a monotonic instant source for the purpose of setting and comparing deadlines.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: