On Fri, 3 Feb 2023 17:58:28 GMT, Darragh Clarke <[email protected]> wrote:

> Currently there is a race condition that can allow for too many 
> 'idleConnections' in `ServerImpl`
> 
> This PR adds a lock to make sure only one connection can be marked Idle at a 
> time as well as a test that consistently failed before the change but which 
> now passes.

This pull request has now been integrated.

Changeset: e4d1cff6
Author:    Darragh Clarke <[email protected]>
Committer: Jaikiran Pai <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/e4d1cff6597ac25d435fe16e0fc49d23f6e65df4
Stats:     215 lines in 3 files changed: 210 ins; 0 del; 5 mod

8300268: ServerImpl allows too many idle connections when using 
sun.net.httpserver.maxIdleConnections

Reviewed-by: dfuchs, vtewari, michaelm, jpai

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

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

Reply via email to