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

Aleksei Efimov aefimov at openjdk.org
Wed Oct 19 16:08:51 UTC 2022


On Wed, 19 Oct 2022 14:22:19 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.

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

> 90:  * </li>
> 91:  * <li><p><b>{@systemProperty sun.net.httpserver.nodelay}</b> (default: false)<br>
> 92:  * Boolean value, which if true, sets the TCP_NODELAY socket option on all incoming connections.

Maybe link it to TCP_NODELAY socket option here? `{@link java.net.SocketOptions#TCP_NODELAY}`

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

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


More information about the net-dev mailing list