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=5728>.
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=5728

ServletInputStream truncates multipart/form-data

           Summary: ServletInputStream truncates multipart/form-data
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: WARP Connector
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When attempting to upload files to a Tomcat based web server, the uploaded data
is truncated.  I'm not sure if this is a WARP connector problem or a Tomcat problem.

I have a form that attempts to upload a JPEG image and also has a few
checkboxes, radio buttons, and an input field.  When reading from the
ServletInputStream in the servlet, only a couple hundred bytes (of about 18K)
are read before a read on the stream returns -1 indicating an end of data.

I suspect this will be easy to reproduce, but if you need a more specific
scenerio, I can provide it.

The same form and Servlet were tested using JRun and it worked as expected.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to