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

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

XMLWordPrintable

    • b03

      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.

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

              Created:
              Updated:
              Resolved: