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

(sc) SocketChannel and its socket adaptor need to handle connection reset

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 13
    • None
    • core-libs
    • None
    • b14

    Description

      Socket.getInputStream() specifies how the the input stream read method behaves when a TCP connection is broken. The socket adaptor return by SocketChannel::Socket does not implement this on all platforms, instead it reflects the behavior of the underlying operating system.

      As part of this change, the socket adaptor can implement the available() method.

      Attachments

        Issue Links

          Activity

            People

              alanb Alan Bateman
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: