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

DatagramSocket/DatagramChannel should support setting "Don't fragment" option

    XMLWordPrintable

    Details

    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      x86_64
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      The DatagramSocket and DatagramChannel APIs do not support setting the (IP header) "Don't fragment" flag on outgoing UDP packets. This is problematic for implementing the QUIC protocol in Java, as it requires the DF flag to be set.

      Quote from https://tools.ietf.org/html/draft-ietf-quic-transport-25#section-14:
      "In IPv4 [IPv4], the DF bit MUST be set to prevent fragmentation on the path."


        Attachments

          Activity

            People

            Assignee:
            ryadav Rahul Yadav
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: