https://issues.apache.org/bugzilla/show_bug.cgi?id=50394

--- Comment #4 from Rohini <rohini.adi...@gmail.com> 2011-08-25 16:58:33 UTC ---
We hit this issue yesterday with tomcat-native-1.1.20 when uploading 1G file.
But found that if we did not use BufferedInputStream and read directly into a
buffer it worked fine. 

InputStream in = request.getInputStream(); //new
BufferedInputStream(request.getInputStream());
int bytesRead;
      while ((bytesRead = in.read(buf)) != -1) {
        out.write(buf, 0, bytesRead);
      }

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to