Java InputStream blocking read
The underlying data source for some implementations of InputStream can signal that the end of the stream has been reached, and no more data will be sent. Until this signal is received, read operations on such a stream can block. For example, an InputStream from a Socket socket will block, rather than returning EOF, until … Read more