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

           Summary: appropriate buffer size can accelerate the copyRange
           Product: Tomcat 7
           Version: 7.0.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: xiaom...@cs.wisc.edu


In the file 
./apache-tomcat-7.0.8-src/java/org/apache/catalina/servlets/DefaultServlet.java
line : 2095

In the function "copyRange", the buffer size "input" is fixed.

Based on the bug Apache 32546 and the experiment, a appropriate buffer size
based on the length of the inputstream can help improve the performance a lot.

-- 
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