Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1436

Copying data from inputStream to OuputStream needs appropriate buffer size

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      None

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nancyesmis Xiaoming Shi
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: