Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8314115

DatagramSocket.receive may hang if underlying UDP RCVBUF of OS is too small

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21, 22
    • core-libs
    • None

      When trying to receive the greatest possible UDP Datagram package of size 65507 Bytes, The receive() API may hang due to a smaller default size of the underlying operating system's UDP RCVBUF. The user should be aware of this and check/adjust the UDP RCVBUF size to at least 65535 with the appropriate commands of his OS.

            tobermeier Thomas Obermeier
            jkern Joachim Kern
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: