You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/01/08 00:02:38 UTC
DO NOT REPLY [Bug 5728] New: -
ServletInputStream truncates 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=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: tomcat-dev@jakarta.apache.org
ReportedBy: chris_mccabe@choicehotels.com
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>