RFR: 8328894: HttpResponse.body() returns null with https target and failed proxy authentication

Daniel Fuchs dfuchs at openjdk.org
Thu Nov 13 17:00:13 UTC 2025


On Thu, 13 Nov 2025 15:02:19 GMT, EunHyunsu <duke at openjdk.org> wrote:

> Gentle ping — just checking if anyone could take a look when time permits.
> Thank you!

Hello @ehs208 this will take some time to review. I haven't reviewed in details but I don't specially like the forced conversion to byte[] which forces reading the whole response in memory. If there's no way around that we should probably set a limit on the number of bytes we're prepared to accept. For these reasons I'd rather delay this fix until after the RDP 1 fork.

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

PR Comment: https://git.openjdk.org/jdk/pull/28232#issuecomment-3528776954


More information about the net-dev mailing list