On Wed, 4 Nov 2026 10:27:17 GMT, Volkan Yazici <[email protected]> wrote:

> `src/jdk.httpserver/share/classes/module-info.java` documents that 
> `sun.net.httpserver.maxReqHeaderSize` defaults to `393216 or 384kB`. This 
> doesn't match the implementation 
> `sun.net.httpserver.ServerConfig#DEFAULT_MAX_REQ_HEADER_SIZE`, which is `380 
> * 1024`, i.e., `389120 or 380kB`. Fix the default documented in 
> `module-info.java`.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

I would suggest importing the test 
[‎test/jdk/com/sun/net/httpserver/property/MaxReqHeaderSizePropertyTest.java](https://github.com/openjdk/jdk/pull/31974/changes#diff-437fa4d237c6c0c356760a3b4f4cbc6795d940f9a4b2ba4bef2ddb9d9b905198)
 from https://git.openjdk.org/jdk/pull/31974 in this PR

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

PR Comment: https://git.openjdk.org/jdk/pull/33715#issuecomment-6628711239

Reply via email to