You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Xiaoming Shi (JIRA)" <ji...@apache.org> on 2011/02/24 21:57:38 UTC

[jira] Created: (OPENEJB-1434) Copy Data from InputStream to outputStream needs appropriate buffer size

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

        

[jira] [Closed] (OPENEJB-1434) Copy Data from InputStream to outputStream needs appropriate buffer size

Posted by "David Blevins (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENEJB-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Blevins closed OPENEJB-1434.
----------------------------------

    Resolution: Duplicate
    
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira