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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 16
    • Component/s: core-libs
    • x86_64
    • generic

      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."


            Assignee:
            Michael McMahon
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: