You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2001/10/25 19:50:58 UTC

DO NOT REPLY [Bug 4427] New: - Lost bytes on upload of larger files (multipart/form-data)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4427>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4427

Lost bytes on upload of larger files (multipart/form-data)

           Summary: Lost bytes on upload of larger files (multipart/form-
                    data)
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: File Upload
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: mike.goutrie@gmx.net


When uploading larger files, approximately every 4097 bytes (or more) one byte
gets lost.

The class org.apache.struts.upload.BufferedMultipartInputStream seems to be
responsible. The method read( byte[] buffer, int start, int length ) drops one
byte with every call.