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/28 19:27:37 UTC
[jira] Created: (OPENEJB-1436) Copying data from inputStream to
OuputStream needs appropriate buffer size
Copying data from inputStream to OuputStream needs appropriate buffer size
--------------------------------------------------------------------------
Key: OPENEJB-1436
URL: https://issues.apache.org/jira/browse/OPENEJB-1436
Project: OpenEJB
Issue Type: Bug
Components: server
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
The buffer size is fixed as 1024 bytes. If the size of the content is relatively large, the performance can be damaged a lot.
We need an appropriate buffer size which depends on the size of the data to be copied.
This is the same as the Appache Bug (https://issues.apache.org/bugzilla/show_bug.cgi?id=32546)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OPENEJB-1436) Copying data from inputStream to
OuputStream needs appropriate buffer size
Posted by "David Blevins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENEJB-1436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Blevins closed OPENEJB-1436.
----------------------------------
Resolution: Duplicate
> Copying data from inputStream to OuputStream needs appropriate buffer size
> --------------------------------------------------------------------------
>
> Key: OPENEJB-1436
> URL: https://issues.apache.org/jira/browse/OPENEJB-1436
> Project: OpenEJB
> Issue Type: Bug
> Components: server
> 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
> The buffer size is fixed as 1024 bytes. If the size of the content is relatively large, the performance can be damaged a lot.
> We need an appropriate buffer size which depends on the size of the data to be copied.
> This is the same as the Appache Bug (https://issues.apache.org/bugzilla/show_bug.cgi?id=32546)
--
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