Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-438

The new jdk transport bug on Java 11 and Java 17

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-3, 2.0.0
    • Resolver
    • None

    Description

      There is this issue (also see related PR, this is NOT only issue when http/2 is used, but also when http/1.1 is) https://bugs.openjdk.org/browse/JDK-8286171 that affects all Java versions before Java 20.

      Simply put, jdk transport may hang forever when Expect-Continue handshake is used with it, and remote server does not follow RFC by the letter.

      Fix: on Java versions lower than Java20 simply ignore the expect-continue configuration (do not apply it). Maybe log a warning if user did set it, uses "jdk" transport, but Java version is not 20+

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: