[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-net-dev
Subject:    Re: RFR: 8308144: HttpClient - uncontrolled memory consumption in SSLFlowDelegate.Reader
From:       zhurs <duke () openjdk ! org>
Date:       2023-05-26 9:20:55
Message-ID: gQRy8DtWqKlVlh0oonOd3ImdFILJOT9uPIXQM1_SWEU=.9371a0ff-51cf-49e8-89e8-dbde699e4ed2 () github ! com
[Download RAW message or body]

On Thu, 25 May 2023 20:17:39 GMT, zhurs <duke@openjdk.org> wrote:

> When using HttpClient to make requests to HTTPS resources, there is an issue where \
> the entire file is being downloaded into memory without the ability to limit the \
> buffer size. If the SSLEngine cannot decode the entire buffer due to the \
> algorithm's blocking nature, it returns a decoded chunk of data and \
> BUFFER_UNDERFLOW status, which leads to SSLFlowDelegate.Reader requesting more data \
> despite the output queue being full.

Thank you, I will look at these options.

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

PR Comment: https://git.openjdk.org/jdk/pull/14159#issuecomment-1564081579


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic