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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: