RFR: 8367976: Validate and clamp jdk.httpclient.bufsize
Daniel Fuchs
dfuchs at openjdk.org
Mon Oct 20 09:40:07 UTC 2025
On Fri, 17 Oct 2025 18:36:39 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:
> Validate and clamp the value populated from the `jdk.httpclient.bufsize` system property. Added two new tests: Does clamping work? Does the minimum value wedge the client?
You will also need to update module-info.java where the property is documented, to indicate what is the range of valid values and what happens if an invalid value is provided.
https://github.com/openjdk/jdk/blob/8c775e299dbf651c3be1ba84b9e50356a3503861/src/java.net.http/share/classes/module-info.java#L49C1-L52C9
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27874#issuecomment-3421253265
More information about the net-dev
mailing list