[jdk11u-dev] RFR: 8179503: Java should support GET OCSP calls [v2]

Christoph Langer clanger at openjdk.org
Wed May 17 06:50:56 UTC 2023


On Wed, 17 May 2023 06:06:04 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:

> This issue causes a regression, if the OCSP server is not returning the `Content-Length` header which at least happens now and then on a DigiCert server. In that case the `contentLength` is set to `Integer.MAX_VALUE` and `IOUtils.readExactlyNBytes` fails with an `EOFException` because it can't read `Integer.MAX_VALUE` bytes
> 
> See also [phax/phase4#124](https://github.com/phax/phase4/issues/124) for my original analysis on the Java 17 problem

This is recorded in JBS now as https://bugs.openjdk.org/browse/JDK-8308255

-------------

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/847#issuecomment-1550843092


More information about the jdk-updates-dev mailing list