Copy Data from InputStream to outputStream needs appropriate buffer size
------------------------------------------------------------------------

                 Key: OPENEJB-1434
                 URL: https://issues.apache.org/jira/browse/OPENEJB-1434
             Project: OpenEJB
          Issue Type: Bug
          Components: general
    Affects Versions: 3.1.4
            Reporter: Xiaoming Shi


In the file
./openejb-3.1.4-src/server/openejb-webadmin/src/main/java/org/apache/openejb/webadmin/httpd/HttpResponseImpl.java
  line:332  

It copies data from the InputStream to the OutputStream with a fixed buffer 
size 1024. 

Based on the result of the Appache bug 
https://issues.apache.org/bugzilla/show_bug.cgi?id=32546

If we use an appropriate buffer size we can gain great performance improvement.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to