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

jdk.net.Sockets.setOption/getOption does not support IP_TOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 7u79
    • core-libs
    • b39
    • Verified

    Backports

      Description

        IP_TOS is missing from the list of supported options for ServerSocket

        --- a/src/share/classes/jdk/net/Sockets.java
        +++ b/src/share/classes/jdk/net/Sockets.java
        @@ -371,6 +371,7 @@
                 set = new HashSet<>();
                 set.add(StandardSocketOptions.SO_RCVBUF);
                 set.add(StandardSocketOptions.SO_REUSEADDR);
        + set.add(StandardSocketOptions.IP_TOS);
                 set = Collections.unmodifiableSet(set);
                 options.put(ServerSocket.class, set);

        Attachments

          Issue Links

            Activity

              People

                michaelm Michael McMahon
                michaelm Michael McMahon
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: