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

CancelledResponse.java does not use HTTP/2 when testing the HttpClient

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • None
    • core-libs
    • None
    • b05

    Description

      In CancelledResponse.java the test only checks the HttpClient against HTTP/1.1 when cancelling a BodySubscriber while receiving data. In the interest of more coverage, the test should be extended (or a new test should be created) to cover the client in the case of a HTTP/2 connection.

      In addition, a new test could use more canonical methods of testing such as making use of the HttpTestServerAdapters library.

      Attachments

        Issue Links

          Activity

            People

              ccleary Conor Cleary
              ccleary Conor Cleary
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: