-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
generic
-
linux
SocketInputStream.available() method does not return 0 when it reaches end of
input stream as it is required by the specification.
The input stream is received from Socket connected to ServerSocket.
The Socket shutdownInput() method is invoked.
Logic:
Socket->shutdownInput()
Socket->getInputStream()->available() -> 0 is expected
However, available() returns positive value.
input stream as it is required by the specification.
The input stream is received from Socket connected to ServerSocket.
The Socket shutdownInput() method is invoked.
Logic:
Socket->shutdownInput()
Socket->getInputStream()->available() -> 0 is expected
However, available() returns positive value.
- duplicates
-
JDK-7014860 Socket.getInputStream().available() not clear for case that connection is shutdown for reading
-
- Closed
-