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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: