RFR: 8300268 : ServerImpl allows too many idle connections when using sun.net.httpserver.maxIdleConnections [v2]
Daniel Fuchs
dfuchs at openjdk.org
Tue Feb 7 14:54:04 UTC 2023
On Tue, 7 Feb 2023 14:44:57 GMT, Darragh Clarke <duke at openjdk.org> wrote:
>> Also please don't use `Boolean` but `boolean`
>
>> New connections created in this way should probably not cause idle connections (which have finished their work) to be closed, and that's possibly what is being observed here.
>
> If I'm understanding correctly, the new connection would be closed instead of the existing idle connection if the idle connection limit has been reached
That's what I'm worried about - but I haven't analyzed the code deeply - just working from memory.
-------------
PR: https://git.openjdk.org/jdk/pull/12413
More information about the net-dev
mailing list