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.
As part of this change, the socket adaptor can implement the available() method.
Attachments
Issue Links
- relates to
-
JDK-8236498 Improve Winsock error handling for closed connections (connection reset)
- Open
-
JDK-8221481 Reimplement the Legacy Socket API
- Resolved
- links to