Tamas Cservenak created MRESOLVER-438:
-----------------------------------------

             Summary: The new jdk transport bug on Java 11 and Java 17
                 Key: MRESOLVER-438
                 URL: https://issues.apache.org/jira/browse/MRESOLVER-438
             Project: Maven Resolver
          Issue Type: Bug
          Components: Resolver
            Reporter: Tamas Cservenak
             Fix For: 2.0.0


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, but 
Java version is not 20+



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to