RFR: JDK-8314115: DatagramSocket.receive may hang if underlying UDP RCVBUF of OS is too small

Thomas Obermeier duke at openjdk.org
Wed Aug 23 14:37:32 UTC 2023


On Wed, 23 Aug 2023 11:37:23 GMT, Thomas Obermeier <duke at openjdk.org> wrote:

> docu update to explain that receive can hang because of bad configuration

JBS points to src/java.base/share/classes/java/net/DatagramSocket.java whilst current PR only covers src/java.base/share/classes/java/nio/channels/DatagramChannel.java; both sides are valid but incomplete and need to be extended

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

PR Comment: https://git.openjdk.org/jdk/pull/15401#issuecomment-1690013431


More information about the nio-dev mailing list