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

Michael McMahon michaelm at openjdk.org
Wed Oct 19 16:08:53 UTC 2022


On Wed, 19 Oct 2022 15:03:21 GMT, Aleksei Efimov <aefimov at openjdk.org> wrote:

>> 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}`
>
>> {@link java.net.SocketOptions#TCP_NODELAY}
> 
> or {@link java.net.StandardSocketOptions#TCP_NODELAY} - it has better docs

Right, the second one is better

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

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


More information about the net-dev mailing list