commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FILEUPLOAD-276) in FileItemStream.openStream() make ItemInputStream visible for "resume"
Date Thu, 28 Jul 2016 09:51:20 GMT
Ralf Hauser created FILEUPLOAD-276:
--------------------------------------

             Summary: in FileItemStream.openStream() make ItemInputStream visible for "resume"
                 Key: FILEUPLOAD-276
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-276
             Project: Commons FileUpload
          Issue Type: Improvement
    Affects Versions: 1.3.2
         Environment: debian stable, java8
            Reporter: Ralf Hauser
            Priority: Minor


With large files and unstable connections ("resume") it would be great to find out whether
the stream is already at the end or whether it stopped for some other reason.

This way I could use the "getBytesRead()" method to easily see how much is read.

And maybe it would also tell me whether it can already see in its buffer the ending boundary
or already got to there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message