Details
-
Sub-task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.2.0
-
None
Description
The S3AInputStream reacts to read(byte[]) failure by reopening the stream, just as for the single byte read(). We shouldn't need to do that. Instead just close the stream, return 0 and let the caller decided what to do.
why so?
- its in the contract of InputStream.read(bytes[]),
- readFully() can handle the 0 in its loop
- other apps can decided what to do.
Attachments
Issue Links
- links to