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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 16
    • 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."


            michaelm Michael McMahon
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: