Integrated: 8310807: java/nio/channels/DatagramChannel/Connect.java timed out
Daniel Fuchs
dfuchs at openjdk.org
Tue Nov 21 14:12:24 UTC 2023
On Tue, 14 Nov 2023 17:49:30 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
> Please find here a fix for a timeout issue observed in DatagramChannel/Connect.java
>
> The suspicion is that the responder may have received some message from some other source and replied to that, leaving the initiator waiting forever.
>
> The proposed fix makes sure the messages exchanged are unique and identifiable and ensure that both the initiator and responder will discard any message that do not have the expected content.
>
> Additional logging should help with diagnosis if the test fails again.
This pull request has now been integrated.
Changeset: 570dffb1
Author: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/570dffb104fc37f053fcdf38a24aa2cabdc921c0
Stats: 79 lines in 1 file changed: 43 ins; 0 del; 36 mod
8310807: java/nio/channels/DatagramChannel/Connect.java timed out
Reviewed-by: msheppar, jpai
-------------
PR: https://git.openjdk.org/jdk/pull/16661
More information about the nio-dev
mailing list