[jdk25] RFR: 8358764: (sc) SocketChannel.close when thread blocked in read causes connection to be reset (win)
Iris Clark
iris at openjdk.org
Sun Jun 15 20:48:30 UTC 2025
On Sun, 15 Jun 2025 06:14:08 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> On Windows, if a platform thread is blocked in SocketChannel.read, and another thread closes the channel, then Windows abruptly closes the connection (RST).
>
> This is clean backport of the change in main line to jdk25.
>
> Testing: tier1-4
Confirmed changes identical to those already pushed to `master` branch.
-------------
Marked as reviewed by iris (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25813#pullrequestreview-2930329456
More information about the nio-dev
mailing list