On Tue, 21 Apr 2026 19:08:16 GMT, Volkan Yazici <[email protected]> wrote:

> Ensure `HttpClient::available` returns `false` if the connection is not 
> established or the associated socket is found to contain stale data to be 
> read. Note that this verification is only performed for "streaming POST" 
> requests.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 7fcf2bb3
Author:    Volkan Yazici <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/7fcf2bb3ef3eae1da5c26e3e7d98fa83b0fd4742
Stats:     210 lines in 3 files changed: 166 ins; 6 del; 38 mod

8180483: sun.net.www.protocol.http.HttpClient::available may consume one 
character

Reviewed-by: dfuchs

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

PR: https://git.openjdk.org/jdk/pull/30859

Reply via email to