RFR: 8288493: Document JDK specific system properties in jdk.httpserver [v8]
Michael McMahon
michaelm at openjdk.org
Fri Oct 21 10:16:53 UTC 2022
On Thu, 20 Oct 2022 15:29:20 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
>> Hi,
>>
>> This change adds some documentation to the jdk.httpserver module-info listing all of the system properties used by the implementation and which can be set by users.
>>
>> CSR at https://bugs.openjdk.org/browse/JDK-8295667
>>
>> Thanks,
>> Michael.
>
> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
>
> review update
The next update I'm going to push includes doc changes that describe what happens when potentially invalid/unexpected values (eg negative numbers or garbage strings) are specified for the system properties. Checking this showed the behavior of the property "sun.net.httpserver.maxReqHeaders" with a value `<=0` doesn't make sense and would end up rejecting all requests. So, I'm specifying and changing the implementation so such values result in the default value being used. I will update the CSR to reflect the behavior change also.
-------------
PR: https://git.openjdk.org/jdk/pull/10766
More information about the net-dev
mailing list