Closed jferard closed 6 years ago
From the https://github.com/iryndin/jdbf/issues/27 comment: "I recently read carefully the javadoc for InputStream (https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html#read(byte[]) and one can't assume that the stream has ended (end of file) if read(b) returns less than b.length bytes. The read operation on the stream can just block." This is the fix (I hope this time it's correct).
@iryndin Is there a reason why you don't merge this ?
@jferard merged! Sorry for the delay!! And thank you for this contribution!!!
You're welcome.
From the https://github.com/iryndin/jdbf/issues/27 comment: "I recently read carefully the javadoc for InputStream (https://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html#read(byte[]) and one can't assume that the stream has ended (end of file) if read(b) returns less than b.length bytes. The read operation on the stream can just block." This is the fix (I hope this time it's correct).