RFR: 8288493: Document JDK specific system properties in jdk.httpserver [v6]

Daniel Fuchs dfuchs at openjdk.org
Thu Oct 20 14:04:10 UTC 2022


On Thu, 20 Oct 2022 12:47:04 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:
> 
>   after review comments

src/jdk.httpserver/share/classes/module-info.java line 71:

> 69:  * <li><p><b>{@systemProperty sun.net.httpserver.maxReqTime}</b> (default: -1)<br>
> 70:  * The maximum time in milliseconds allowed to receive a request headers and body.
> 71:  * In practice, this is a function of request size, network speed, and handler processing delays.

For clarity should this be changed to:

* In practice, the actual time is a function of request size, network speed, and handler processing delays.

src/jdk.httpserver/share/classes/module-info.java line 79:

> 77:  * <li><p><b>{@systemProperty sun.net.httpserver.maxRspTime}</b> (default: -1)<br>
> 78:  * The maximum time in milliseconds allowed to receive a response headers and body.
> 79:  * In practice, this is a function of response size, network speed, and handler processing delays.

Same here

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

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


More information about the net-dev mailing list