While investigating the cause for bug 4296244, it was concluded that socket.shutdownInput() would cause the socket to be reset on the windows platform. This should be specifically documented in the API.
Also, the Socket API documentation for the shutdownInput() and shutdownOutput() methods should mention that the IOException is thrown if an I/O error occurs while shutting down the stream and not while shutting down the socket.
Also, the Socket API documentation for the shutdownInput() and shutdownOutput() methods should mention that the IOException is thrown if an I/O error occurs while shutting down the stream and not while shutting down the socket.
- relates to
-
JDK-4296244 socket write error on client with HalfWriteIgnored test and Win* server
-
- Closed
-
-
JDK-6472249 Socket.shutdownInput() is not discarding data
-
- Closed
-